You are here

function view_mode_page_features_api in View Mode Page 8.2

Same name and namespace in other branches
  1. 8 view_mode_page.module \view_mode_page_features_api()
  2. 7.2 view_mode_page.module \view_mode_page_features_api()
  3. 7 view_mode_page.module \view_mode_page_features_api()

Implements hook_features_api().

File

./view_mode_page.module, line 12
View Mode Page module allows users to add a page for a specific view mode.

Code

function view_mode_page_features_api() {
  return array(
    'view_mode_page_pattern' => array(
      'name' => t('View mode page'),
      'file' => drupal_get_path('module', 'view_mode_page') . '/view_mode_page.features.inc',
      'default_hook' => 'view_mode_page_pattern_default',
      'features_source' => TRUE,
    ),
  );
}