You are here

function views_block_views_handlers in Views Hacks 6

Implementation of hook_views_handlers() to register all of the basic handlers views uses.

File

views_block/views_block.views.inc, line 326
Provide views data and handlers for blocks.

Code

function views_block_views_handlers() {
  return array(
    'info' => array(
      'path' => drupal_get_path('module', 'views_block') . '/handlers',
    ),
    'handlers' => array(
      'views_handler_field_block_link_edit' => array(
        'parent' => 'views_handler_field',
      ),
      'views_handler_field_block_info' => array(
        'parent' => 'views_handler_field',
      ),
      'views_handler_field_block_custom' => array(
        'parent' => 'views_handler_field',
      ),
      'views_handler_field_block_visibility' => array(
        'parent' => 'views_handler_field',
      ),
      'views_handler_field_block_region' => array(
        'parent' => 'views_handler_field',
      ),
      'views_handler_field_block_cache' => array(
        'parent' => 'views_handler_field',
      ),
      'views_handler_field_block_format' => array(
        'parent' => 'views_handler_field',
      ),
      'views_handler_filter_block_module' => array(
        'parent' => 'views_handler_filter_in_operator',
      ),
      'views_handler_filter_block_theme' => array(
        'parent' => 'views_handler_filter_in_operator',
      ),
      'views_handler_filter_block_region' => array(
        'parent' => 'views_handler_filter_in_operator',
      ),
      'views_handler_filter_block_custom' => array(
        'parent' => 'views_handler_filter_in_operator',
      ),
      'views_handler_filter_block_visibility' => array(
        'parent' => 'views_handler_filter_in_operator',
      ),
      'views_handler_filter_block_format' => array(
        'parent' => 'views_handler_filter_in_operator',
      ),
      'views_handler_filter_regex' => array(
        'parent' => 'views_handler_filter',
      ),
      'views_handler_filter_block_cache' => array(
        'parent' => 'views_handler_filter',
      ),
    ),
  );
}