Mercurial > hg > isophonics-drupal-site
annotate core/themes/classy/templates/navigation/menu-local-task.html.twig @ 11:bfffd8d7479a
Move drupal/core from "replace" to "require" section, to ensure Composer updates it
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:51:18 +0000 |
parents | 4c8ae668cc8c |
children |
rev | line source |
---|---|
Chris@0 | 1 {# |
Chris@0 | 2 /** |
Chris@0 | 3 * @file |
Chris@0 | 4 * Theme override for a local task link. |
Chris@0 | 5 * |
Chris@0 | 6 * Available variables: |
Chris@0 | 7 * - attributes: HTML attributes for the wrapper element. |
Chris@0 | 8 * - is_active: Whether the task item is an active tab. |
Chris@0 | 9 * - link: A rendered link element. |
Chris@0 | 10 * |
Chris@0 | 11 * Note: This template renders the content for each task item in |
Chris@0 | 12 * menu-local-tasks.html.twig. |
Chris@0 | 13 * |
Chris@0 | 14 * @see template_preprocess_menu_local_task() |
Chris@0 | 15 */ |
Chris@0 | 16 #} |
Chris@0 | 17 <li{{ attributes.addClass(is_active ? 'is-active') }}>{{ link }}</li> |