X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vendor%2Fchi-teck%2Fdrupal-code-generator%2Ftemplates%2Fd7%2Fhook%2Faction_info_alter.twig;fp=vendor%2Fchi-teck%2Fdrupal-code-generator%2Ftemplates%2Fd7%2Fhook%2Faction_info_alter.twig;h=601257c9941947e9570beb36786fac6c7a622c0a;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hp=0000000000000000000000000000000000000000;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0;p=yaffs-website diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/action_info_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/action_info_alter.twig new file mode 100644 index 000000000..601257c99 --- /dev/null +++ b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/action_info_alter.twig @@ -0,0 +1,6 @@ +/** + * Implements hook_action_info_alter(). + */ +function {{ machine_name }}_action_info_alter(&$actions) { + $actions['node_unpublish_action']['label'] = t('Unpublish and remove from public view.'); +}