You are here

function fe_block_features_api in Features Extra 7

Same name and namespace in other branches
  1. 6 fe_block.module \fe_block_features_api()

Implements hook_features_api().

File

fe_block/fe_block.module, line 16
Provide features components for exporting core blocks and settings.

Code

function fe_block_features_api() {
  $info = array();
  $key = 'fe_block_settings';
  $info[$key] = array(
    'name' => t('Block settings'),
    'feature_source' => TRUE,
    'default_hook' => 'default_' . $key,
    'default_file' => FEATURES_DEFAULTS_INCLUDED,
  );
  $key = 'fe_block_boxes';
  $info[$key] = array(
    'name' => t('Block contents (boxes)'),
    'feature_source' => TRUE,
    'default_hook' => 'default_' . $key,
    'default_file' => FEATURES_DEFAULTS_INCLUDED,
  );
  return $info;
}