menu_item_fields-8.x-1.5/templates/menu-link-content.html.twig
templates/menu-link-content.html.twig
{#
/**
* @file
* Default theme implementation to present a menu item entity.
*
* Available variables:
* - content: Menu item content.
* - title_prefix: Additional output populated by modules, intended to be
* displayed in front of the main title tag that appears in the template.
* - title_suffix: Additional output populated by modules, intended to be
* displayed after the main title tag that appears in the template.
* - view_mode: View mode; for example, "teaser" or "full".
* - attributes: HTML attributes for the containing element.
* - title_attributes: Same as attributes, except applied to the main title
* tag that appears in the template.
*
* @ingroup themeable
*/
#}
<div{{ attributes }}>
{{ title_suffix.contextual_links }}
{{ content }}
</div>
