function readmorecontrol_excluded_view_modes in Read More Control 7
Helper function to get a list of view modes that should not have a Read more link applied to these.
4 calls to readmorecontrol_excluded_view_modes()
- readmorecontrol_entity_behaviour in ./
readmorecontrol.module - Helper function to determine the Read more link behaviour.
- readmorecontrol_supported_entity in ./
readmorecontrol.module - Determines if the entity can support a Read more link.
- _readmorecontrol_form_field_ui_display_overview_form_alter in ./
readmorecontrol.admin.inc - Internal implementation of hook_form_FORM_ID_alter().
- _readmorecontrol_form_field_ui_field_edit_form_alter in ./
readmorecontrol.admin.inc - Implements hook_form_FORM_ID_alter().
File
- ./
readmorecontrol.module, line 173 - Defines options to control how the Read more link is displayed on teasers.
Code
function readmorecontrol_excluded_view_modes() {
return array(
'search_index',
'token',
'diff_standard',
'diff_complete',
);
}