function colorbox_node_entity_info_alter in Colorbox Node 7.2
Same name and namespace in other branches
- 7.3 colorbox_node.module \colorbox_node_entity_info_alter()
Implements hook_entity_info_alter().
File
- ./
colorbox_node.module, line 118 - Creates a menu callback with support for displaying a node inside of a colorbox.
Code
function colorbox_node_entity_info_alter(&$entity_info) {
$entity_info['node']['view modes']['colorbox'] = array(
'label' => t('Colorbox'),
'custom settings' => FALSE,
);
}