New answers tagged

0

In my_module.tokens.inc place two functions like this: <?php /** * Implements hook_token_info(). */ function my_module_token_info() { $info['tokens']['node']['my_custom_title'] = [ 'name' => t("Custom title"), 'description' => t("The first 10 characters of the title"), ]; return $info; } /** * Implements ...


Top 50 recent answers are included