You are here

function asset_widget_entity_info_alter in Asset 7

Implements hook_entity_info_alter().

File

modules/asset_widget/asset_widget.module, line 401
Code for the Asset widget module.

Code

function asset_widget_entity_info_alter(&$entity_info) {
  $entity_info['asset']['view modes']['widget_search'] = array(
    'label' => t('Widget search'),
    'custom settings' => TRUE,
  );
}