You are here

function token_custom_features_config_get_tokens in Custom Tokens 7.2

Get machine name of all custom tokens.

Return value

array An associative array, or FALSE if there is no next row.

1 call to token_custom_features_config_get_tokens()
token_custom_features_export_options in ./token_custom.features.inc
Implements hook_features_export_options().

File

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

Code

function token_custom_features_config_get_tokens() {
  $codes = db_select('token_custom', 'tc')
    ->fields('tc', array())
    ->execute();
  return $codes
    ->fetchAll();
}