function cacheflush_ui_entity_info_alter in CacheFlush 7.3
Implements hook_entity_info_alter().
File
- modules/
cacheflush_ui/ cacheflush_ui.module, line 78 - Cacheflush User Interface.
Code
function cacheflush_ui_entity_info_alter(&$entity_info) {
$entity_info['cacheflush']['access callback'] = 'cacheflush_ui_access';
// Extend cacheflush entity with UI.
$entity_info['cacheflush']['view modes'] = array(
'full' => array(
'label' => t('Full'),
'custom settings' => FALSE,
),
);
$entity_info['cacheflush']['admin ui'] = array(
'path' => 'admin/structure/cacheflush',
'controller class' => 'CacheflushUIController',
);
}