You are here

function sna_blocks_views_api in Simple Node Archive Blocks 7

Same name and namespace in other branches
  1. 6 sna_blocks.module \sna_blocks_views_api()
  2. 7.2 sna_blocks.module \sna_blocks_views_api()

Implements hook_views_api().

File

./sna_blocks.module, line 37
Provide a simple node archive block

Code

function sna_blocks_views_api() {
  return array(
    'api' => '3.0',
    'path' => drupal_get_path('module', 'sna_blocks') . '/views',
  );
}