rules-8.x-3.x-dev/templates/rules-debug-log-element.html.twig

templates/rules-debug-log-element.html.twig
{#
/**
 * @file
 * Default theme implementation for a Rules debug output log entry.
 *
 * This outputs the container for Rules log debug output.
 * Individual log entries are output in rules-debug-log-element.html.twig.
 *
 * Available variables:
 * - text: The text of the debug log message, with placeholders replaced.
 * - level: Drupal text log level of this entry.
 * - time: The time of this entry, in milliseconds, relative to the start of
 *   the Rule execution.
 * - link: A link tag pointing to the edit page for the expression that
 *   generated this log entry.
 *
 * @see template_preprocess_rules_debug_log_element()
 *
 * @ingroup themeable
#}
{% set classes = ['rules-debug-log'] %}
<span class="rules-debug-{{ level }}">{%if time %}{{ time }} {% endif %}{{ text }}{% if link %}&nbsp;[{{ link }}]{% endif %}</span>

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

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