You are here

function _ds_extras_entity_info_alter in Display Suite 7

Implements hook_entity_info_alter().

1 call to _ds_extras_entity_info_alter()
ds_extras_entity_info_alter in modules/ds_extras/ds_extras.module
Implements hook_entity_info_alter().

File

modules/ds_extras/ds_extras.registry.inc, line 136
Display suite Extras registry file.

Code

function _ds_extras_entity_info_alter(&$entity_info) {
  $revision = array(
    'label' => 'Revision',
    'custom settings' => FALSE,
  );
  $entity_info['node']['view modes']['revision'] = $revision;
}