function bean_admin_paths in Bean (for Drupal 7) 7
Implements hook_admin_paths().
File
- ./
bean.module, line 289 - Block Entity
Code
function bean_admin_paths() {
if (variable_get('node_admin_theme')) {
$paths = array(
'block/*/edit' => TRUE,
'block/*/delete' => TRUE,
'block/*/revisions' => TRUE,
'block/*/revisions/*/edit' => TRUE,
'block/*/revisions/*/set-active' => TRUE,
'block/*/revisions/*/delete' => TRUE,
'block/add' => TRUE,
'block/add/*' => TRUE,
);
return $paths;
}
}