function custom_block_admin_paths

Implements hook_admin_paths().

File

drupal/core/modules/block/custom_block/custom_block.module, line 250
Allows the creaation of custom blocks through the user interface.

Code

function custom_block_admin_paths() {
  $paths = array(
    'block/add' => TRUE,
    'block/add/*' => TRUE,
    'block/*/edit' => TRUE,
    'block/*/delete' => TRUE,
    'admin/structure/custom-blocks/*' => TRUE,
  );
  return $paths;
}