class CommonsAnswersTidyNodeLinksImpl in Drupal Commons 6.2
Custom tidy node links mapping for questions
Hierarchy
- class \CommonsAnswersTidyNodeLinksImpl extends \TidyNodeLinksMappingWithThemeFunctions
Expanded class hierarchy of CommonsAnswersTidyNodeLinksImpl
1 string reference to 'CommonsAnswersTidyNodeLinksImpl'
- commons_answers_tidy_node_links_toolkit_alter in modules/
features/ commons_answers/ commons_answers.module - Implementation of hook_tidy_node_links_toolkit_alter().
File
- modules/
features/ commons_answers/ commons_answers.module, line 290
View source
class CommonsAnswersTidyNodeLinksImpl extends TidyNodeLinksMappingWithThemeFunctions {
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;
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CommonsAnswersTidyNodeLinksImpl:: |
public | function |