rules-debug-log-element.html.twig in Rules 8.3
{#
/**
* @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 %} [{{ link }}]{% endif %}</span>
File
templates/rules-debug-log-element.html.twig
View source
- {#
- /**
- * @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 %} [{{ link }}]{% endif %}</span>