You are here

function socialmedia_features_api in Social media 7

Implementation of hook_features_api().

Allow exporting of config wizards by the Features module.

File

./socialmedia.module, line 514
Demonstrate basic module socialmedia.

Code

function socialmedia_features_api() {
  return array(
    'socialmedia_profile' => array(
      'name' => t('Socialmedia profiles'),
      'feature_source' => TRUE,
      'default_hook' => 'socialmedia_profile_defaults',
      'default_file' => FEATURES_DEFAULTS_INCLUDED,
      //'default_file' => 'widgets',
      'file' => drupal_get_path('module', 'socialmedia') . '/socialmedia.features.inc',
    ),
  );
}