function socbutt_token_info in Bootstrap Social Sharing Buttons 7
Same name and namespace in other branches
- 8 socbutt.module \socbutt_token_info()
Implements hook_token_info().
File
- ./
socbutt.module, line 10
Code
function socbutt_token_info() {
$info = array();
$info['types']['socbutt'] = array(
'name' => t('Socbutt tokens'),
'description' => t("Socbutt tokens."),
);
$info['tokens']['socbutt']['vertical'] = array(
'name' => t("Social button bar, vertical"),
'description' => t("Social button bar, vertical layout."),
);
$info['tokens']['socbutt']['horizontal'] = array(
'name' => t("Social button bar, horizontal"),
'description' => t("Social button bar, horizontal layout."),
);
return $info;
}