You are here

function views_block_area_views_api in Views block area 7

Implements hook_views_api().

File

./views_block_area.module, line 13
Exposes all blocks as a views area.

Code

function views_block_area_views_api() {
  if (!module_exists('block')) {
    return;
  }
  return array(
    'api' => '3.0',
    'path' => drupal_get_path('module', 'views_block_area') . '/views',
  );
}