function token_custom_features_api in Custom Tokens 7.2
Implements hook_features_api().
File
- ./
token_custom.module, line 526 - It gives the user the ability to create custom tokens using PHP code for specific replacements that can improve other modules relying on the token Drupal 7 core API.
Code
function token_custom_features_api() {
return array(
'token_custom' => array(
'name' => 'Custom tokens',
'file' => drupal_get_path('module', 'token_custom') . '/token_custom.features.inc',
'default_hook' => 'token_custom_features_default_settings',
'feature_source' => TRUE,
),
);
}