material_admin-8.x-1.0-alpha7/templates/buttons/input--switch--install.html.twig
templates/buttons/input--switch--install.html.twig
{% extends '@material_admin/buttons/input--switch.html.twig' %}
{#
/**
* @file
* Theme override for an 'input' #type form element.
*
* Available variables:
* - attributes: A list of HTML attributes for the input element.
* - children: Optional additional rendered elements.
*
* @see template_preprocess_input()
*/
#}
{# ovveride the tooltip text to be specific to the module install page. #}
{% set tooltip_text = 'Cannot modify. This module either has unmet dependencies or another enabled module requires it. To uninstall, go to the <a href="' ~ render_var(url('system.modules_uninstall')) ~ '">Uninstall page</a>' %}
{% block switch_before_text %}Off{% endblock %}
{% block switch_after_text %}On{% endblock %}
