From fb69602094fee9fec503e67c76accd60ac61b40a Mon Sep 17 00:00:00 2001 From: viktor Date: Sun, 18 Nov 2012 12:01:19 +0200 Subject: [PATCH] 1843560 --- .../stark/templates/menu/menu-local-task.html.twig | 22 ++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 core/themes/stark/templates/menu/menu-local-task.html.twig diff --git a/core/themes/stark/templates/menu/menu-local-task.html.twig b/core/themes/stark/templates/menu/menu-local-task.html.twig new file mode 100644 index 0000000..5526aad --- /dev/null +++ b/core/themes/stark/templates/menu/menu-local-task.html.twig @@ -0,0 +1,22 @@ +{# +/** + * @file + * Default theme implementation for a local task menu. + * + * - element: A render element containing: + * - #link: A menu link array with 'title', 'href', and 'localized_options' + * keys. + * - #active: A boolean indicating whether the local task is active. + * + * @see template_preprocess + * @see template_preprocess_menu_local_task + * + * @ingroup themeable + */ +#} + +
  • + + {{ element['#link'].localized_options.html ? element['#link'].title : element['#link'].title|e }} + +
  • -- 1.7.9.5