/** * Adds the json data we need to the template * * @param object $event The event object * @return void */ public function add_json_data($event) { $this->mentions->add_json_data_to_template($event['topic_id']); }