You are here

function token_custom_features_export in Custom Tokens 7.2

Implements hook_features_export().

File

./token_custom.features.inc, line 23
Features integration for the Custom tokens module.

Code

function token_custom_features_export($data, &$export, $module_name) {

  // We have module dependencies in order for this module to function properly
  // so we'll add them here.
  $export['dependencies']['token_custom'] = 'token_custom';

  // The following is the simplest implementation of a straight object export
  // with no further export processors called.
  foreach ($data as $component) {
    $export['features']['token_custom'][$component] = $component;
  }
  return array();
}