public function CommonsAnswersTidyNodeLinksImpl::get_mapping in Drupal Commons 6.2
File
- modules/
features/ commons_answers/ commons_answers.module, line 291
Class
- CommonsAnswersTidyNodeLinksImpl
- Custom tidy node links mapping for questions
Code
public function get_mapping() {
$map = parent::get_mapping();
$map['statistics_counter'] = array(
'css_class' => 'statistics_counter',
'display_class' => 'TidyNodeLinksElementWithThemeFunctions',
);
//Remove the "Post an answer" link in favor of the simplified answer submission form.
$map['answer_field_answer_question'] = array(
'visible' => TRUE,
'display_class' => 'TidyNodeLinksElementWithThemeFunctions',
);
return $map;
}