/** * Function that returns the snippets to use for this display. * * @param \Gems_Tracker_Token $token The token to get the snippets for * @return array of Snippet names or nothing */ public function getAnswerDisplaySnippets(\Gems_Tracker_Token $token) { $this->token = $token; $snippets = (array) $token->getTrackEngine()->getAnswerSnippetNames(); $snippets['answerFilter'] = $this; return $snippets; }