{% extends '@WebProfiler/Profiler/layout.html.twig' %} {% block toolbar %} {% set icon %} {% set status_color = (collector.memory / 1024 / 1024) > 50 ? 'yellow' %} {{ source('@WebProfiler/Icon/memory.svg') }}
{% endset %} {% set text %} {% endset %} {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url, name: 'time', status: status_color }) }} {% endblock %}