competition-8.x-1.x-dev/templates/competition-list.html.twig

templates/competition-list.html.twig
{#
/**
 * @file
 * Default theme implementation to present a list of custom content entity types/bundles.
 *
 * Available variables:
 * - types: A collection of all the available custom entity types/bundles.
 *   Each type/bundle contains the following:
 *   - link: A link to add a content entity of this type.
 *   - description: A description of this content entity types/bundle.
 *
 * @see template_preprocess_competition_entry_content_add_list()
 *
 * @ingroup themeable
 */
#}

{% if types is not empty %}
    <dl>
        {% for type in types %}
            <dt>{{ type.link }}</dt>
        {% endfor %}
    </dl>
{% endif %}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc