User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_field.html.twig_zT9siT4hANDLFstcB4TCInqfD', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/fields/field.html.twig */
class __TwigTemplate_94a10805fc03066696d6b1247774972ed1f9a36c6eb42c421893eafefda008af extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 39
echo "
";
// line 40
$this->loadTemplate("@atoms/_field.twig", "themes/contrib/emulsify/templates/fields/field.html.twig", 40)->display($context);
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/fields/field.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 35 => 40, 32 => 39,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for a field.
*
* To override output, copy the \"field.html.twig\" from the templates directory
* to your theme's directory and customize it, just like customizing other
* Drupal templates such as page.html.twig or node.html.twig.
*
* Instead of overriding the theming for all fields, you can also just override
* theming for a subset of fields using
* @link themeable Theme hook suggestions. @endlink For example,
* here are some theme hook suggestions that can be used for a field_foo field
* on an article node type:
* - field--node--field-foo--article.html.twig
* - field--node--field-foo.html.twig
* - field--node--article.html.twig
* - field--field-foo.html.twig
* - field--text-with-summary.html.twig
* - field.html.twig
*
* Available variables:
* - attributes: HTML attributes for the containing element.
* - label_hidden: Whether to show the field label or not.
* - title_attributes: HTML attributes for the title.
* - label: The label for the field.
* - multiple: TRUE if a field can contain multiple items.
* - items: List of all the field items. Each item contains:
* - attributes: List of HTML attributes for each item.
* - content: The field item's content.
* - entity_type: The entity type to which the field belongs.
* - field_name: The name of the field.
* - field_type: The type of the field.
* - label_display: The display settings for the label.
*
* @see template_preprocess_field()
*/
#}
{% include \"@atoms/_field.twig\" %}
", "themes/contrib/emulsify/templates/fields/field.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/fields/field.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 40];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_field.html.twig_zT9siT4hANDLFstcB4TCInqfD', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/fields/field.html.twig */
class __TwigTemplate_94a10805fc03066696d6b1247774972ed1f9a36c6eb42c421893eafefda008af extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 39
echo "
";
// line 40
$this->loadTemplate("@atoms/_field.twig", "themes/contrib/emulsify/templates/fields/field.html.twig", 40)->display($context);
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/fields/field.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 35 => 40, 32 => 39,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for a field.
*
* To override output, copy the \"field.html.twig\" from the templates directory
* to your theme's directory and customize it, just like customizing other
* Drupal templates such as page.html.twig or node.html.twig.
*
* Instead of overriding the theming for all fields, you can also just override
* theming for a subset of fields using
* @link themeable Theme hook suggestions. @endlink For example,
* here are some theme hook suggestions that can be used for a field_foo field
* on an article node type:
* - field--node--field-foo--article.html.twig
* - field--node--field-foo.html.twig
* - field--node--article.html.twig
* - field--field-foo.html.twig
* - field--text-with-summary.html.twig
* - field.html.twig
*
* Available variables:
* - attributes: HTML attributes for the containing element.
* - label_hidden: Whether to show the field label or not.
* - title_attributes: HTML attributes for the title.
* - label: The label for the field.
* - multiple: TRUE if a field can contain multiple items.
* - items: List of all the field items. Each item contains:
* - attributes: List of HTML attributes for each item.
* - content: The field item's content.
* - entity_type: The entity type to which the field belongs.
* - field_name: The name of the field.
* - field_type: The type of the field.
* - label_display: The display settings for the label.
*
* @see template_preprocess_field()
*/
#}
{% include \"@atoms/_field.twig\" %}
", "themes/contrib/emulsify/templates/fields/field.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/fields/field.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 40];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_94a10805fc03066696d6b1247774972ed1f9a36c6eb42c421893eafefda008af', 'themes/contrib/emulsify/templates/fields/field.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/contrib/emulsify/templates/fields/field.html.twig') (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/fields/field.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 73)
Drupal\Core\Entity\Controller\EntityViewController->buildTitle(Array)
call_user_func(Array, Array) (Line: 378)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f__field.twig_YiA08EBvys1LlD2fYNtrOnO32', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @atoms/_field.twig */
class __TwigTemplate_a5c614d0b62226748732680929dbcd3ed2251c41e7aff86d470a7469ee605168 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 39
echo "
";
// line 41
if (($context["label_hidden"] ?? null)) {
// line 42
echo " ";
if (($context["multiple"] ?? null)) {
// line 43
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null)), "html", null, true);
echo ">
";
// line 44
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 45
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "attributes", [])), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 47
echo "
";
} else {
// line 49
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 50
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null)), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 52
echo " ";
}
} else {
// line 54
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null)), "html", null, true);
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_attributes"] ?? null)), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null)), "html", null, true);
echo "
";
// line 56
if (($context["multiple"] ?? null)) {
// line 57
echo "
";
}
// line 59
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 60
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "attributes", [])), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 62
echo " ";
if (($context["multiple"] ?? null)) {
// line 63
echo "
";
}
// line 65
echo "
";
}
}
public function getTemplateName()
{
return "@atoms/_field.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 125 => 65, 121 => 63, 118 => 62, 107 => 60, 102 => 59, 98 => 57, 96 => 56, 90 => 55, 85 => 54, 81 => 52, 70 => 50, 65 => 49, 61 => 47, 50 => 45, 46 => 44, 41 => 43, 38 => 42, 36 => 41, 32 => 39,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for a field.
*
* To override output, copy the \"field.html.twig\" from the templates directory
* to your theme's directory and customize it, just like customizing other
* Drupal templates such as page.html.twig or node.html.twig.
*
* Instead of overriding the theming for all fields, you can also just override
* theming for a subset of fields using
* @link themeable Theme hook suggestions. @endlink For example,
* here are some theme hook suggestions that can be used for a field_foo field
* on an article node type:
* - field--node--field-foo--article.html.twig
* - field--node--field-foo.html.twig
* - field--node--article.html.twig
* - field--field-foo.html.twig
* - field--text-with-summary.html.twig
* - field.html.twig
*
* Available variables:
* - attributes: HTML attributes for the containing element.
* - label_hidden: Whether to show the field label or not.
* - title_attributes: HTML attributes for the title.
* - label: The label for the field.
* - multiple: TRUE if a field can contain multiple items.
* - items: List of all the field items. Each item contains:
* - attributes: List of HTML attributes for each item.
* - content: The field item's content.
* - entity_type: The entity type to which the field belongs.
* - field_name: The name of the field.
* - field_type: The type of the field.
* - label_display: The display settings for the label.
*
* @see template_preprocess_field()
*/
#}
{% if label_hidden %}
{% if multiple %}
{% for item in items %}
{{ item.content }}
{% endfor %}
{% else %}
{% for item in items %}
{{ item.content }}
{% endfor %}
{% endif %}
{% else %}
{{ label }}
{% if multiple %}
{% endif %}
{% for item in items %}
{{ item.content }}
{% endfor %}
{% if multiple %}
{% endif %}
{% endif %}
", "@atoms/_field.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/01-atoms/_field.twig");
}
public function checkSecurity()
{
static $tags = ["if" => 41, "for" => 44];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['if', 'for'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f__field.twig_YiA08EBvys1LlD2fYNtrOnO32', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @atoms/_field.twig */
class __TwigTemplate_a5c614d0b62226748732680929dbcd3ed2251c41e7aff86d470a7469ee605168 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 39
echo "
";
// line 41
if (($context["label_hidden"] ?? null)) {
// line 42
echo " ";
if (($context["multiple"] ?? null)) {
// line 43
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null)), "html", null, true);
echo ">
";
// line 44
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 45
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "attributes", [])), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 47
echo "
";
} else {
// line 49
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 50
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null)), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 52
echo " ";
}
} else {
// line 54
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null)), "html", null, true);
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_attributes"] ?? null)), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null)), "html", null, true);
echo "
";
// line 56
if (($context["multiple"] ?? null)) {
// line 57
echo "
";
}
// line 59
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 60
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "attributes", [])), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 62
echo " ";
if (($context["multiple"] ?? null)) {
// line 63
echo "
";
}
// line 65
echo "
";
}
}
public function getTemplateName()
{
return "@atoms/_field.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 125 => 65, 121 => 63, 118 => 62, 107 => 60, 102 => 59, 98 => 57, 96 => 56, 90 => 55, 85 => 54, 81 => 52, 70 => 50, 65 => 49, 61 => 47, 50 => 45, 46 => 44, 41 => 43, 38 => 42, 36 => 41, 32 => 39,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for a field.
*
* To override output, copy the \"field.html.twig\" from the templates directory
* to your theme's directory and customize it, just like customizing other
* Drupal templates such as page.html.twig or node.html.twig.
*
* Instead of overriding the theming for all fields, you can also just override
* theming for a subset of fields using
* @link themeable Theme hook suggestions. @endlink For example,
* here are some theme hook suggestions that can be used for a field_foo field
* on an article node type:
* - field--node--field-foo--article.html.twig
* - field--node--field-foo.html.twig
* - field--node--article.html.twig
* - field--field-foo.html.twig
* - field--text-with-summary.html.twig
* - field.html.twig
*
* Available variables:
* - attributes: HTML attributes for the containing element.
* - label_hidden: Whether to show the field label or not.
* - title_attributes: HTML attributes for the title.
* - label: The label for the field.
* - multiple: TRUE if a field can contain multiple items.
* - items: List of all the field items. Each item contains:
* - attributes: List of HTML attributes for each item.
* - content: The field item's content.
* - entity_type: The entity type to which the field belongs.
* - field_name: The name of the field.
* - field_type: The type of the field.
* - label_display: The display settings for the label.
*
* @see template_preprocess_field()
*/
#}
{% if label_hidden %}
{% if multiple %}
{% for item in items %}
{{ item.content }}
{% endfor %}
{% else %}
{% for item in items %}
{{ item.content }}
{% endfor %}
{% endif %}
{% else %}
{{ label }}
{% if multiple %}
{% endif %}
{% for item in items %}
{{ item.content }}
{% endfor %}
{% if multiple %}
{% endif %}
{% endif %}
", "@atoms/_field.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/01-atoms/_field.twig");
}
public function checkSecurity()
{
static $tags = ["if" => 41, "for" => 44];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['if', 'for'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_a5c614d0b62226748732680929dbcd3ed2251c41e7aff86d470a7469ee605168', '@atoms/_field.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('@atoms/_field.twig', NULL) (Line: 375)
Twig\Template->loadTemplate('@atoms/_field.twig', 'themes/contrib/emulsify/templates/fields/field.html.twig', 40) (Line: 35)
__TwigTemplate_94a10805fc03066696d6b1247774972ed1f9a36c6eb42c421893eafefda008af->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/fields/field.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 73)
Drupal\Core\Entity\Controller\EntityViewController->buildTitle(Array)
call_user_func(Array, Array) (Line: 378)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_inline-template_CQSsxiYtMMzzJz5TfjjzGScsI', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* {# inline_template_start #}{{ value|nl2br }} */
class __TwigTemplate_b210a5c0ab45b8129ece1083e9607aec0869b56d67004245877241340dc656df extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo nl2br($this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["value"] ?? null)), "html", null, true));
}
public function getTemplateName()
{
return "{# inline_template_start #}{{ value|nl2br }}";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{# inline_template_start #}{{ value|nl2br }}", "{# inline_template_start #}{{ value|nl2br }}", "");
}
public function checkSecurity()
{
static $tags = [];
static $filters = ["nl2br" => 1];
static $functions = [];
try {
$this->sandbox->checkSecurity(
[],
['nl2br'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_inline-template_CQSsxiYtMMzzJz5TfjjzGScsI', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* {# inline_template_start #}{{ value|nl2br }} */
class __TwigTemplate_b210a5c0ab45b8129ece1083e9607aec0869b56d67004245877241340dc656df extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo nl2br($this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["value"] ?? null)), "html", null, true));
}
public function getTemplateName()
{
return "{# inline_template_start #}{{ value|nl2br }}";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{# inline_template_start #}{{ value|nl2br }}", "{# inline_template_start #}{{ value|nl2br }}", "");
}
public function checkSecurity()
{
static $tags = [];
static $filters = ["nl2br" => 1];
static $functions = [];
try {
$this->sandbox->checkSecurity(
[],
['nl2br'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_b210a5c0ab45b8129ece1083e9607aec0869b56d67004245877241340dc656df', '{# inline_template_start #}{{ value|nl2br }}', NULL) (Line: 445)
Twig\Environment->loadTemplate('{# inline_template_start #}{{ value|nl2br }}', NULL) (Line: 143)
Drupal\Core\Template\TwigEnvironment->renderInline('{# inline_template_start #}{{ value|nl2br }}', Array) (Line: 52)
Drupal\Core\Render\Element\InlineTemplate::preRenderInlineTemplate(Array)
call_user_func(Array, Array) (Line: 378)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 89)
Drupal\Core\Utility\LinkGenerator->generate(Array, Object) (Line: 94)
Drupal\Core\Render\Element\Link::preRenderLink(Array)
call_user_func(Array, Array) (Line: 378)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 73)
__TwigTemplate_a5c614d0b62226748732680929dbcd3ed2251c41e7aff86d470a7469ee605168->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 35)
__TwigTemplate_94a10805fc03066696d6b1247774972ed1f9a36c6eb42c421893eafefda008af->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/fields/field.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 73)
Drupal\Core\Entity\Controller\EntityViewController->buildTitle(Array)
call_user_func(Array, Array) (Line: 378)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_board.html.twig_wI27eZwwPqKeCsrA9fQ-JC4gL', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/board/board.html.twig */
class __TwigTemplate_e87c942e6c594a12eb550e5f12f4e8893855df8004f8107051b4f6b795f63daf extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 18
echo "
";
// line 19
$this->loadTemplate("@organisms/board/board.twig", "themes/contrib/emulsify/templates/board/board.html.twig", 19)->display($context);
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/board/board.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 35 => 19, 32 => 18,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file board.html.twig
* Default theme implementation to present Board data.
*
* This template is used when viewing Board pages.
*
*
* Available variables:
* - content: A list of content items. Use 'content' to print all content, or
* - attributes: HTML attributes for the container element.
*
* @see template_preprocess_board()
*
* @ingroup themeable
*/
#}
{% include \"@organisms/board/board.twig\" %}
", "themes/contrib/emulsify/templates/board/board.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/board/board.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 19];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_board.html.twig_wI27eZwwPqKeCsrA9fQ-JC4gL', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/board/board.html.twig */
class __TwigTemplate_e87c942e6c594a12eb550e5f12f4e8893855df8004f8107051b4f6b795f63daf extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 18
echo "
";
// line 19
$this->loadTemplate("@organisms/board/board.twig", "themes/contrib/emulsify/templates/board/board.html.twig", 19)->display($context);
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/board/board.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 35 => 19, 32 => 18,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file board.html.twig
* Default theme implementation to present Board data.
*
* This template is used when viewing Board pages.
*
*
* Available variables:
* - content: A list of content items. Use 'content' to print all content, or
* - attributes: HTML attributes for the container element.
*
* @see template_preprocess_board()
*
* @ingroup themeable
*/
#}
{% include \"@organisms/board/board.twig\" %}
", "themes/contrib/emulsify/templates/board/board.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/board/board.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 19];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_e87c942e6c594a12eb550e5f12f4e8893855df8004f8107051b4f6b795f63daf', 'themes/contrib/emulsify/templates/board/board.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/contrib/emulsify/templates/board/board.html.twig') (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/board/board.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('board', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_board.twig_H5viWbTiNFihj1MhOq8oAnLqj', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @organisms/board/board.twig */
class __TwigTemplate_b748fef97a52a78056e78bd1155059923609d0119f51a59c00075747e180639e extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 20
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "board", $this->sandbox->ensureToStringAllowed(($context["modifiers"] ?? null))]));
echo ">
";
// line 23
$this->loadTemplate("@organisms/board/board-header.twig", "@organisms/board/board.twig", 23)->display($context);
// line 24
echo "
";
// line 25
if (($context["content"] ?? null)) {
// line 26
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true);
}
// line 28
echo "
";
}
public function getTemplateName()
{
return "@organisms/board/board.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 50 => 28, 47 => 26, 45 => 25, 42 => 24, 40 => 23, 35 => 21, 32 => 20,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file board.html.twig
* Default theme implementation to present Board data.
*
* This template is used when viewing Board pages.
*
*
* Available variables:
* - content: A list of content items. Use 'content' to print all content, or
* - attributes: HTML attributes for the container element.
* - board_view: [grid|list] Based on the query string, defaults to grid
* - page_type: Used for the PDF link
* - switch_url: Switch to model
* @see template_preprocess_board()
*
* @ingroup themeable
*/
#}
{% include \"@organisms/board/board-header.twig\" %}
{% if content %}
{{- content -}}
{% endif %}
", "@organisms/board/board.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/03-organisms/board/board.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 23, "if" => 25];
static $filters = [];
static $functions = ["bem" => 21];
try {
$this->sandbox->checkSecurity(
['include', 'if'],
[],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_board.twig_H5viWbTiNFihj1MhOq8oAnLqj', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @organisms/board/board.twig */
class __TwigTemplate_b748fef97a52a78056e78bd1155059923609d0119f51a59c00075747e180639e extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 20
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "board", $this->sandbox->ensureToStringAllowed(($context["modifiers"] ?? null))]));
echo ">
";
// line 23
$this->loadTemplate("@organisms/board/board-header.twig", "@organisms/board/board.twig", 23)->display($context);
// line 24
echo "
";
// line 25
if (($context["content"] ?? null)) {
// line 26
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true);
}
// line 28
echo "
";
}
public function getTemplateName()
{
return "@organisms/board/board.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 50 => 28, 47 => 26, 45 => 25, 42 => 24, 40 => 23, 35 => 21, 32 => 20,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file board.html.twig
* Default theme implementation to present Board data.
*
* This template is used when viewing Board pages.
*
*
* Available variables:
* - content: A list of content items. Use 'content' to print all content, or
* - attributes: HTML attributes for the container element.
* - board_view: [grid|list] Based on the query string, defaults to grid
* - page_type: Used for the PDF link
* - switch_url: Switch to model
* @see template_preprocess_board()
*
* @ingroup themeable
*/
#}
{% include \"@organisms/board/board-header.twig\" %}
{% if content %}
{{- content -}}
{% endif %}
", "@organisms/board/board.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/03-organisms/board/board.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 23, "if" => 25];
static $filters = [];
static $functions = ["bem" => 21];
try {
$this->sandbox->checkSecurity(
['include', 'if'],
[],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_b748fef97a52a78056e78bd1155059923609d0119f51a59c00075747e180639e', '@organisms/board/board.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('@organisms/board/board.twig', NULL) (Line: 375)
Twig\Template->loadTemplate('@organisms/board/board.twig', 'themes/contrib/emulsify/templates/board/board.html.twig', 19) (Line: 35)
__TwigTemplate_e87c942e6c594a12eb550e5f12f4e8893855df8004f8107051b4f6b795f63daf->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/board/board.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('board', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_board-header.twig_kFqzwmHC6xc4TzkrWVYqDgvIC', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @organisms/board/board-header.twig */
class __TwigTemplate_356897f245702c099501f82cf3f1ee4d71f332442683dfcfc0dcae6d0fc01811 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
$context["switchView"] = (((($context["board_view"] ?? null) == "grid")) ? ("list") : ("grid"));
// line 2
$context["logoClass"] = "";
// line 3
if (($context["logo"] ?? null)) {
// line 4
echo " ";
$context["logoClass"] = "hasLogo";
}
// line 6
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "header", [], "board"]));
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "logo", [], "board", [0 => ($context["logoClass"] ?? null)]]));
echo ">
";
// line 9
if ($this->getAttribute(($context["permission"] ?? null), "canEditLogo", [])) {
// line 10
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["board_id"] ?? null)), "html", null, true);
echo "\">
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "image", [], "board"]));
echo " src=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["logo"] ?? null)), "html", null, true);
echo "\" />
</a>
<a>env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "edit-logo", [], "board", [0 => "use-ajax"]]));
echo " href=\"/ajax/board/logo_form/";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["board_id"] ?? null)), "html", null, true);
echo "\">
";
// line 14
$this->loadTemplate("@atoms/04-images/icon.twig", "@organisms/board/board-header.twig", 14)->display(twig_array_merge($context, ["icon" => "edit", "width" => "100%", "height" => "100%"]));
// line 19
echo " </a>
<a>env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "button", [0 => "upload"], null, [0 => "use-ajax"]]));
echo " href=\"/ajax/board/logo_form/";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["board_id"] ?? null)), "html", null, true);
echo "\">Upload a logo</a>
";
}
// line 23
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "title", [], "board"]));
echo ">
";
// line 26
$this->loadTemplate("@atoms/05-forms/_input.twig", "@organisms/board/board-header.twig", 26)->display(twig_array_merge($context, ["value" => $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute( // line 27
($context["content"] ?? null), "name", []), "#object", [], "array"), "name", []), "value", []), "readonly" => true, "maxlength" => 30]));
// line 31
echo "
<a>env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "edit-title", [], "board"]));
echo ">
";
// line 33
$this->loadTemplate("@atoms/04-images/icon.twig", "@organisms/board/board-header.twig", 33)->display(twig_array_merge($context, ["icon" => "edit", "width" => "100%", "height" => "100%"]));
// line 38
echo " </a>
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "title-actions", [], "board"]));
echo ">
";
// line 41
$this->loadTemplate("@atoms/06-buttons/01-button.twig", "@organisms/board/board-header.twig", 41)->display(twig_array_merge($context, ["button_content" => "Save", "button_modifiers" => [0 => "dark", 1 => "save"]]));
// line 45
echo "
";
// line 46
$this->loadTemplate("@atoms/06-buttons/01-button.twig", "@organisms/board/board-header.twig", 46)->display(twig_array_merge($context, ["button_content" => "Reset", "button_modifiers" => [0 => "dark", 1 => "reset"]]));
// line 50
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "actions", [], "board"]));
echo ">
";
// line 55
if ($this->getAttribute(($context["permission"] ?? null), "addToBag", [])) {
// line 56
echo " ";
$this->loadTemplate("@atoms/06-buttons/01-button.twig", "@organisms/board/board-header.twig", 56)->display(twig_array_merge($context, ["button_content" => "Add this Board to Bag", "button_modifiers" => [0 => "dark", 1 => "add-board-to-bag"], "button_attributes" => ["board_id" => // line 60
($context["board_id"] ?? null)]]));
// line 63
echo " ";
}
// line 64
echo "
";
// line 65
$context["items"] = [0 => ["url" => "#", "title" => "download", "link_include_classes" => [0 => "button--pdf"], "link_attributes" => ["entity-id" => $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute( // line 71
($context["content"] ?? null), "name", []), "#object", [], "array"), "id", []), "value", []), "entity-type" => "board", "page-type" => // line 73
($context["page_type"] ?? null)]], 1 => ["url" => // line 77
($context["switch_url"] ?? null), "title" => // line 78
($context["switchView"] ?? null)]];
// line 82
echo "
";
// line 83
if ($this->getAttribute(($context["permission"] ?? null), "addNewBoard", [])) {
// line 84
echo " ";
$context["items"] = twig_array_merge([0 => ["url" => "#", "title" => "plus", "link_include_classes" => [0 => "add-new-board"]]], $this->sandbox->ensureToStringAllowed( // line 88
($context["items"] ?? null)));
// line 89
echo " ";
}
// line 90
echo "
";
// line 91
$this->loadTemplate("@molecules/menus/_menu.twig", "@organisms/board/board-header.twig", 91)->display(twig_array_merge($context, ["menu_blockname" => "board", "menu_class" => "actions-menu", "icon_menu" => true, "items" => // line 95
($context["items"] ?? null)]));
// line 97
echo " ";
$this->loadTemplate("@organisms/board/board-form-new.twig", "@organisms/board/board-header.twig", 97)->display($context);
// line 98
echo "
";
// line 100
if ((($context["board_view"] ?? null) == "grid")) {
// line 101
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "global-messages", [0 => "mobile-board"]]));
echo ">
<a>env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "close", [], "global-messages"]));
echo ">
";
// line 103
$this->loadTemplate("@atoms/04-images/icon.twig", "@organisms/board/board-header.twig", 103)->display(twig_array_merge($context, ["icon" => "close", "width" => "100%", "height" => "100%"]));
// line 108
echo " </a>
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "message", [0 => "status"], "global-messages"]));
echo " role=\"contentinfo\" aria-label=\"Status message\">
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "status", [0 => "status"]]));
echo ">
Most editing capabilities are disabled on small screens,
try using a tablet or computer to gain full control over your board layout.
";
}
// line 119
echo "
";
}
public function getTemplateName()
{
return "@organisms/board/board-header.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 205 => 119, 194 => 111, 189 => 109, 186 => 108, 184 => 103, 180 => 102, 175 => 101, 173 => 100, 169 => 98, 166 => 97, 164 => 95, 163 => 91, 160 => 90, 157 => 89, 155 => 88, 153 => 84, 151 => 83, 148 => 82, 146 => 78, 145 => 77, 144 => 73, 143 => 71, 142 => 65, 139 => 64, 136 => 63, 134 => 60, 132 => 56, 130 => 55, 125 => 53, 120 => 50, 118 => 46, 115 => 45, 113 => 41, 109 => 40, 105 => 38, 103 => 33, 99 => 32, 96 => 31, 94 => 27, 93 => 26, 89 => 25, 85 => 23, 77 => 20, 74 => 19, 72 => 14, 66 => 13, 59 => 11, 54 => 10, 52 => 9, 47 => 7, 42 => 6, 38 => 4, 36 => 3, 34 => 2, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{% set switchView = board_view == \"grid\" ? \"list\" : \"grid\" %}
{% set logoClass = \"\" %}
{% if logo %}
{% set logoClass = \"hasLogo\" %}
{% endif %}
{% if permission.canEditLogo %}
<a>
</a>
<a>
{% include \"@atoms/04-images/icon.twig\" with {
icon: \"edit\",
width: \"100%\",
height: \"100%\"
} %}
</a>
<a>Upload a logo</a>
{% endif %}
{% include \"@atoms/05-forms/_input.twig\" with {
value: content.name[\"#object\"].name.value,
readonly: true,
maxlength: 30
} %}
<a>
{% include \"@atoms/04-images/icon.twig\" with {
icon: \"edit\",
width: \"100%\",
height: \"100%\"
} %}
</a>
{% include \"@atoms/06-buttons/01-button.twig\" with {
\"button_content\": \"Save\",
\"button_modifiers\": [\"dark\", \"save\"]
} %}
{% include \"@atoms/06-buttons/01-button.twig\" with {
\"button_content\": \"Reset\",
\"button_modifiers\": [\"dark\", \"reset\"]
} %}
{% if permission.addToBag %}
{% include \"@atoms/06-buttons/01-button.twig\" with {
\"button_content\": \"Add this Board to Bag\",
\"button_modifiers\": [\"dark\", \"add-board-to-bag\"],
\"button_attributes\" : {
\"board_id\" : board_id
}
} %}
{% endif %}
{% set items = [
{
url: '#',
title: 'download',
link_include_classes: [\"button--pdf\"],
link_attributes: {
\"entity-id\": content.name[\"#object\"].id.value,
\"entity-type\": 'board',
\"page-type\" : page_type
}
},
{
url: switch_url,
title: switchView
}
]
%}
{% if permission.addNewBoard %}
{% set items = [{
url: '#',
title: 'plus',
link_include_classes: [\"add-new-board\"]
}]|merge(items) %}
{% endif %}
{% include \"@molecules/menus/_menu.twig\" with {
menu_blockname: 'board',
menu_class: 'actions-menu',
icon_menu: true,
items: items
} %}
{% include \"@organisms/board/board-form-new.twig\" %}
{% if board_view == \"grid\" %}
<a>
{% include \"@atoms/04-images/icon.twig\" with {
icon: \"close\",
width: \"100%\",
height: \"100%\"
} %}
</a>
Most editing capabilities are disabled on small screens,
try using a tablet or computer to gain full control over your board layout.
{% endif %}
", "@organisms/board/board-header.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/03-organisms/board/board-header.twig");
}
public function checkSecurity()
{
static $tags = ["set" => 1, "if" => 3, "include" => 14];
static $filters = ["merge" => 88];
static $functions = ["bem" => 6];
try {
$this->sandbox->checkSecurity(
['set', 'if', 'include'],
['merge'],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_board-header.twig_kFqzwmHC6xc4TzkrWVYqDgvIC', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @organisms/board/board-header.twig */
class __TwigTemplate_356897f245702c099501f82cf3f1ee4d71f332442683dfcfc0dcae6d0fc01811 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
$context["switchView"] = (((($context["board_view"] ?? null) == "grid")) ? ("list") : ("grid"));
// line 2
$context["logoClass"] = "";
// line 3
if (($context["logo"] ?? null)) {
// line 4
echo " ";
$context["logoClass"] = "hasLogo";
}
// line 6
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "header", [], "board"]));
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "logo", [], "board", [0 => ($context["logoClass"] ?? null)]]));
echo ">
";
// line 9
if ($this->getAttribute(($context["permission"] ?? null), "canEditLogo", [])) {
// line 10
echo " <a echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["board_id"] ?? null)), "html", null, true);
echo "\">
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "image", [], "board"]));
echo " src=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["logo"] ?? null)), "html", null, true);
echo "\" />
</a>
<a>env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "edit-logo", [], "board", [0 => "use-ajax"]]));
echo " href=\"/ajax/board/logo_form/";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["board_id"] ?? null)), "html", null, true);
echo "\">
";
// line 14
$this->loadTemplate("@atoms/04-images/icon.twig", "@organisms/board/board-header.twig", 14)->display(twig_array_merge($context, ["icon" => "edit", "width" => "100%", "height" => "100%"]));
// line 19
echo " </a>
<a>env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "button", [0 => "upload"], null, [0 => "use-ajax"]]));
echo " href=\"/ajax/board/logo_form/";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["board_id"] ?? null)), "html", null, true);
echo "\">Upload a logo</a>
";
}
// line 23
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "title", [], "board"]));
echo ">
";
// line 26
$this->loadTemplate("@atoms/05-forms/_input.twig", "@organisms/board/board-header.twig", 26)->display(twig_array_merge($context, ["value" => $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute( // line 27
($context["content"] ?? null), "name", []), "#object", [], "array"), "name", []), "value", []), "readonly" => true, "maxlength" => 30]));
// line 31
echo "
<a>env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "edit-title", [], "board"]));
echo ">
";
// line 33
$this->loadTemplate("@atoms/04-images/icon.twig", "@organisms/board/board-header.twig", 33)->display(twig_array_merge($context, ["icon" => "edit", "width" => "100%", "height" => "100%"]));
// line 38
echo " </a>
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "title-actions", [], "board"]));
echo ">
";
// line 41
$this->loadTemplate("@atoms/06-buttons/01-button.twig", "@organisms/board/board-header.twig", 41)->display(twig_array_merge($context, ["button_content" => "Save", "button_modifiers" => [0 => "dark", 1 => "save"]]));
// line 45
echo "
";
// line 46
$this->loadTemplate("@atoms/06-buttons/01-button.twig", "@organisms/board/board-header.twig", 46)->display(twig_array_merge($context, ["button_content" => "Reset", "button_modifiers" => [0 => "dark", 1 => "reset"]]));
// line 50
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "actions", [], "board"]));
echo ">
";
// line 55
if ($this->getAttribute(($context["permission"] ?? null), "addToBag", [])) {
// line 56
echo " ";
$this->loadTemplate("@atoms/06-buttons/01-button.twig", "@organisms/board/board-header.twig", 56)->display(twig_array_merge($context, ["button_content" => "Add this Board to Bag", "button_modifiers" => [0 => "dark", 1 => "add-board-to-bag"], "button_attributes" => ["board_id" => // line 60
($context["board_id"] ?? null)]]));
// line 63
echo " ";
}
// line 64
echo "
";
// line 65
$context["items"] = [0 => ["url" => "#", "title" => "download", "link_include_classes" => [0 => "button--pdf"], "link_attributes" => ["entity-id" => $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute( // line 71
($context["content"] ?? null), "name", []), "#object", [], "array"), "id", []), "value", []), "entity-type" => "board", "page-type" => // line 73
($context["page_type"] ?? null)]], 1 => ["url" => // line 77
($context["switch_url"] ?? null), "title" => // line 78
($context["switchView"] ?? null)]];
// line 82
echo "
";
// line 83
if ($this->getAttribute(($context["permission"] ?? null), "addNewBoard", [])) {
// line 84
echo " ";
$context["items"] = twig_array_merge([0 => ["url" => "#", "title" => "plus", "link_include_classes" => [0 => "add-new-board"]]], $this->sandbox->ensureToStringAllowed( // line 88
($context["items"] ?? null)));
// line 89
echo " ";
}
// line 90
echo "
";
// line 91
$this->loadTemplate("@molecules/menus/_menu.twig", "@organisms/board/board-header.twig", 91)->display(twig_array_merge($context, ["menu_blockname" => "board", "menu_class" => "actions-menu", "icon_menu" => true, "items" => // line 95
($context["items"] ?? null)]));
// line 97
echo " ";
$this->loadTemplate("@organisms/board/board-form-new.twig", "@organisms/board/board-header.twig", 97)->display($context);
// line 98
echo "
";
// line 100
if ((($context["board_view"] ?? null) == "grid")) {
// line 101
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "global-messages", [0 => "mobile-board"]]));
echo ">
<a>env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "close", [], "global-messages"]));
echo ">
";
// line 103
$this->loadTemplate("@atoms/04-images/icon.twig", "@organisms/board/board-header.twig", 103)->display(twig_array_merge($context, ["icon" => "close", "width" => "100%", "height" => "100%"]));
// line 108
echo " </a>
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "message", [0 => "status"], "global-messages"]));
echo " role=\"contentinfo\" aria-label=\"Status message\">
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "status", [0 => "status"]]));
echo ">
Most editing capabilities are disabled on small screens,
try using a tablet or computer to gain full control over your board layout.
";
}
// line 119
echo "
";
}
public function getTemplateName()
{
return "@organisms/board/board-header.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 205 => 119, 194 => 111, 189 => 109, 186 => 108, 184 => 103, 180 => 102, 175 => 101, 173 => 100, 169 => 98, 166 => 97, 164 => 95, 163 => 91, 160 => 90, 157 => 89, 155 => 88, 153 => 84, 151 => 83, 148 => 82, 146 => 78, 145 => 77, 144 => 73, 143 => 71, 142 => 65, 139 => 64, 136 => 63, 134 => 60, 132 => 56, 130 => 55, 125 => 53, 120 => 50, 118 => 46, 115 => 45, 113 => 41, 109 => 40, 105 => 38, 103 => 33, 99 => 32, 96 => 31, 94 => 27, 93 => 26, 89 => 25, 85 => 23, 77 => 20, 74 => 19, 72 => 14, 66 => 13, 59 => 11, 54 => 10, 52 => 9, 47 => 7, 42 => 6, 38 => 4, 36 => 3, 34 => 2, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{% set switchView = board_view == \"grid\" ? \"list\" : \"grid\" %}
{% set logoClass = \"\" %}
{% if logo %}
{% set logoClass = \"hasLogo\" %}
{% endif %}
{% if permission.canEditLogo %}
<a>
</a>
<a>
{% include \"@atoms/04-images/icon.twig\" with {
icon: \"edit\",
width: \"100%\",
height: \"100%\"
} %}
</a>
<a>Upload a logo</a>
{% endif %}
{% include \"@atoms/05-forms/_input.twig\" with {
value: content.name[\"#object\"].name.value,
readonly: true,
maxlength: 30
} %}
<a>
{% include \"@atoms/04-images/icon.twig\" with {
icon: \"edit\",
width: \"100%\",
height: \"100%\"
} %}
</a>
{% include \"@atoms/06-buttons/01-button.twig\" with {
\"button_content\": \"Save\",
\"button_modifiers\": [\"dark\", \"save\"]
} %}
{% include \"@atoms/06-buttons/01-button.twig\" with {
\"button_content\": \"Reset\",
\"button_modifiers\": [\"dark\", \"reset\"]
} %}
{% if permission.addToBag %}
{% include \"@atoms/06-buttons/01-button.twig\" with {
\"button_content\": \"Add this Board to Bag\",
\"button_modifiers\": [\"dark\", \"add-board-to-bag\"],
\"button_attributes\" : {
\"board_id\" : board_id
}
} %}
{% endif %}
{% set items = [
{
url: '#',
title: 'download',
link_include_classes: [\"button--pdf\"],
link_attributes: {
\"entity-id\": content.name[\"#object\"].id.value,
\"entity-type\": 'board',
\"page-type\" : page_type
}
},
{
url: switch_url,
title: switchView
}
]
%}
{% if permission.addNewBoard %}
{% set items = [{
url: '#',
title: 'plus',
link_include_classes: [\"add-new-board\"]
}]|merge(items) %}
{% endif %}
{% include \"@molecules/menus/_menu.twig\" with {
menu_blockname: 'board',
menu_class: 'actions-menu',
icon_menu: true,
items: items
} %}
{% include \"@organisms/board/board-form-new.twig\" %}
{% if board_view == \"grid\" %}
<a>
{% include \"@atoms/04-images/icon.twig\" with {
icon: \"close\",
width: \"100%\",
height: \"100%\"
} %}
</a>
Most editing capabilities are disabled on small screens,
try using a tablet or computer to gain full control over your board layout.
{% endif %}
", "@organisms/board/board-header.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/03-organisms/board/board-header.twig");
}
public function checkSecurity()
{
static $tags = ["set" => 1, "if" => 3, "include" => 14];
static $filters = ["merge" => 88];
static $functions = ["bem" => 6];
try {
$this->sandbox->checkSecurity(
['set', 'if', 'include'],
['merge'],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_356897f245702c099501f82cf3f1ee4d71f332442683dfcfc0dcae6d0fc01811', '@organisms/board/board-header.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('@organisms/board/board-header.twig', NULL) (Line: 375)
Twig\Template->loadTemplate('@organisms/board/board-header.twig', '@organisms/board/board.twig', 23) (Line: 40)
__TwigTemplate_b748fef97a52a78056e78bd1155059923609d0119f51a59c00075747e180639e->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 35)
__TwigTemplate_e87c942e6c594a12eb550e5f12f4e8893855df8004f8107051b4f6b795f63daf->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/board/board.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('board', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f__input.twig_AYfNqTnnihk8Z5EwX6qQ7rL8o', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @atoms/05-forms/_input.twig */
class __TwigTemplate_4e703ce0725b3211c959678796f45916447aef30340350fa3e30eed7000fe4fe extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 39
echo "
";
// line 40
$context["field_blockname"] = (((isset($context["field_blockname"]) || array_key_exists("field_blockname", $context))) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(($context["field_blockname"] ?? null)), "form-item")) : ("form-item"));
// line 41
$context["field_base_class"] = (((isset($context["field_base_class"]) || array_key_exists("field_base_class", $context))) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(($context["field_base_class"] ?? null)), "field")) : ("field"));
// line 42
if (($context["readonly"] ?? null)) {
// line 43
echo " ";
$context["attributes"] = $this->getAttribute(($context["attributes"] ?? null), "setAttribute", [0 => "readonly", 1 => "readonly"], "method");
}
// line 45
echo "
";
// line 46
if (($context["maxlength"] ?? null)) {
// line 47
echo " ";
$context["attributes"] = $this->getAttribute(($context["attributes"] ?? null), "setAttribute", [0 => "maxlength", 1 => ($context["maxlength"] ?? null)], "method");
}
// line 49
echo "
";
// line 50
if (($context["input_attributes"] ?? null)) {
// line 51
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["input_attributes"] ?? null));
foreach ($context['_seq'] as $context["key"] => $context["value"]) {
// line 52
echo " ";
$context["attributes"] = $this->getAttribute(($context["attributes"] ?? null), "setAttribute", [0 => $context["key"], 1 => $context["value"]], "method");
// line 53
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
}
// line 55
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, $this->sandbox->ensureToStringAllowed(($context["field_base_class"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["field_modifiers"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["field_blockname"] ?? null))]));
echo " value=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["value"] ?? null)), "html", null, true);
echo "\" autocomplete=\"never\"/>
";
}
public function getTemplateName()
{
return "@atoms/05-forms/_input.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 77 => 56, 74 => 55, 67 => 53, 64 => 52, 59 => 51, 57 => 50, 54 => 49, 50 => 47, 48 => 46, 45 => 45, 41 => 43, 39 => 42, 37 => 41, 35 => 40, 32 => 39,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @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()
*/
#}
{# {{element['#form_id']}} #}
{# {% if element['#form_id'] in [
'user_form',
'user_login_form',
'user_pass',
'user_register_form',
'delivery_pricing_form',
'commerce_checkout_flow_multistep_default',
'profile_registered_user_add_form',
'profile_contact_information_add_form',
'profile_contact_information_edit_form'
]
or element['#form_id'] matches '/^views_form_commerce_cart_form.*/'
or element['#form_id'] == null
%}
{% set title = element[\"#title\"] %}
{% if title|lower == \"quantity\" %}
{% set title = \"Qty\" %}
{% endif %}
{% set attributes = attributes.setAttribute('placeholder', title) %}
{% endif %} #}
{# {% if attributes.type == \"date\" and attributes.value|length == 0 %}
{% set attributes = attributes.setAttribute('type', \"text-as-date\") %}
{% endif %} #}
{% set field_blockname = field_blockname|default('form-item') %}
{% set field_base_class = field_base_class|default('field') %}
{% if readonly %}
{% set attributes = attributes.setAttribute('readonly', 'readonly') %}
{% endif %}
{% if maxlength %}
{% set attributes = attributes.setAttribute('maxlength', maxlength) %}
{% endif %}
{% if input_attributes %}
{% for key, value in input_attributes %}
{% set attributes = attributes.setAttribute(key, value) %}
{% endfor %}
{% endif %}
", "@atoms/05-forms/_input.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/01-atoms/05-forms/_input.twig");
}
public function checkSecurity()
{
static $tags = ["set" => 40, "if" => 42, "for" => 51];
static $filters = ["default" => 40];
static $functions = ["bem" => 56];
try {
$this->sandbox->checkSecurity(
['set', 'if', 'for'],
['default'],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f__input.twig_AYfNqTnnihk8Z5EwX6qQ7rL8o', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @atoms/05-forms/_input.twig */
class __TwigTemplate_4e703ce0725b3211c959678796f45916447aef30340350fa3e30eed7000fe4fe extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 39
echo "
";
// line 40
$context["field_blockname"] = (((isset($context["field_blockname"]) || array_key_exists("field_blockname", $context))) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(($context["field_blockname"] ?? null)), "form-item")) : ("form-item"));
// line 41
$context["field_base_class"] = (((isset($context["field_base_class"]) || array_key_exists("field_base_class", $context))) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(($context["field_base_class"] ?? null)), "field")) : ("field"));
// line 42
if (($context["readonly"] ?? null)) {
// line 43
echo " ";
$context["attributes"] = $this->getAttribute(($context["attributes"] ?? null), "setAttribute", [0 => "readonly", 1 => "readonly"], "method");
}
// line 45
echo "
";
// line 46
if (($context["maxlength"] ?? null)) {
// line 47
echo " ";
$context["attributes"] = $this->getAttribute(($context["attributes"] ?? null), "setAttribute", [0 => "maxlength", 1 => ($context["maxlength"] ?? null)], "method");
}
// line 49
echo "
";
// line 50
if (($context["input_attributes"] ?? null)) {
// line 51
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["input_attributes"] ?? null));
foreach ($context['_seq'] as $context["key"] => $context["value"]) {
// line 52
echo " ";
$context["attributes"] = $this->getAttribute(($context["attributes"] ?? null), "setAttribute", [0 => $context["key"], 1 => $context["value"]], "method");
// line 53
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
}
// line 55
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, $this->sandbox->ensureToStringAllowed(($context["field_base_class"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["field_modifiers"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["field_blockname"] ?? null))]));
echo " value=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["value"] ?? null)), "html", null, true);
echo "\" autocomplete=\"never\"/>
";
}
public function getTemplateName()
{
return "@atoms/05-forms/_input.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 77 => 56, 74 => 55, 67 => 53, 64 => 52, 59 => 51, 57 => 50, 54 => 49, 50 => 47, 48 => 46, 45 => 45, 41 => 43, 39 => 42, 37 => 41, 35 => 40, 32 => 39,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @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()
*/
#}
{# {{element['#form_id']}} #}
{# {% if element['#form_id'] in [
'user_form',
'user_login_form',
'user_pass',
'user_register_form',
'delivery_pricing_form',
'commerce_checkout_flow_multistep_default',
'profile_registered_user_add_form',
'profile_contact_information_add_form',
'profile_contact_information_edit_form'
]
or element['#form_id'] matches '/^views_form_commerce_cart_form.*/'
or element['#form_id'] == null
%}
{% set title = element[\"#title\"] %}
{% if title|lower == \"quantity\" %}
{% set title = \"Qty\" %}
{% endif %}
{% set attributes = attributes.setAttribute('placeholder', title) %}
{% endif %} #}
{# {% if attributes.type == \"date\" and attributes.value|length == 0 %}
{% set attributes = attributes.setAttribute('type', \"text-as-date\") %}
{% endif %} #}
{% set field_blockname = field_blockname|default('form-item') %}
{% set field_base_class = field_base_class|default('field') %}
{% if readonly %}
{% set attributes = attributes.setAttribute('readonly', 'readonly') %}
{% endif %}
{% if maxlength %}
{% set attributes = attributes.setAttribute('maxlength', maxlength) %}
{% endif %}
{% if input_attributes %}
{% for key, value in input_attributes %}
{% set attributes = attributes.setAttribute(key, value) %}
{% endfor %}
{% endif %}
", "@atoms/05-forms/_input.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/01-atoms/05-forms/_input.twig");
}
public function checkSecurity()
{
static $tags = ["set" => 40, "if" => 42, "for" => 51];
static $filters = ["default" => 40];
static $functions = ["bem" => 56];
try {
$this->sandbox->checkSecurity(
['set', 'if', 'for'],
['default'],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_4e703ce0725b3211c959678796f45916447aef30340350fa3e30eed7000fe4fe', '@atoms/05-forms/_input.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('@atoms/05-forms/_input.twig', NULL) (Line: 375)
Twig\Template->loadTemplate('@atoms/05-forms/_input.twig', '@organisms/board/board-header.twig', 26) (Line: 93)
__TwigTemplate_356897f245702c099501f82cf3f1ee4d71f332442683dfcfc0dcae6d0fc01811->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 40)
__TwigTemplate_b748fef97a52a78056e78bd1155059923609d0119f51a59c00075747e180639e->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 35)
__TwigTemplate_e87c942e6c594a12eb550e5f12f4e8893855df8004f8107051b4f6b795f63daf->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/board/board.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('board', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_icon.twig_ONzt-UU7CW2ttPa9K5TYOmDow', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @atoms/04-images/icon.twig */
class __TwigTemplate_d77fad020b4b9f79fbcf0e0aaaa2063efc3e65f0d947774507a7c9ab09dc3264 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
if (($context["icon"] ?? null)) {
// line 2
echo " ";
$context["sprite_url"] = (call_user_func_array($this->env->getFunction('theme_base_path')->getCallable(), []) . "/dist/sprite.svg?v=1.6");
// line 3
echo " ";
$context["attributes"] = $this->getAttribute(($context["attributes"] ?? null), "setAttribute", [0 => "width", 1 => (((isset($context["width"]) || array_key_exists("width", $context))) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(($context["width"] ?? null)), "100%")) : ("100%"))], "method");
// line 4
echo " ";
$context["attributes"] = $this->getAttribute(($context["attributes"] ?? null), "setAttribute", [0 => "height", 1 => (((isset($context["height"]) || array_key_exists("height", $context))) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(($context["height"] ?? null)), "100%")) : ("100%"))], "method");
// line 5
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "icon", [0 => ($context["icon"] ?? null)]]));
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null)), "html", null, true);
echo " >
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["sprite_url"] ?? null)), "html", null, true);
echo "#";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["icon"] ?? null)), "html", null, true);
echo "\" />
";
}
}
public function getTemplateName()
{
return "@atoms/04-images/icon.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 52 => 7, 46 => 6, 43 => 5, 40 => 4, 37 => 3, 34 => 2, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{% if icon %}
{% set sprite_url = theme_base_path() ~ '/dist/sprite.svg?v=1.6'%}
{% set attributes = attributes.setAttribute('width', width|default('100%')) %}
{% set attributes = attributes.setAttribute('height', height|default('100%')) %}
{% endif %}
", "@atoms/04-images/icon.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/01-atoms/04-images/icon.twig");
}
public function checkSecurity()
{
static $tags = ["if" => 1, "set" => 2];
static $filters = ["default" => 3];
static $functions = ["theme_base_path" => 2, "bem" => 6];
try {
$this->sandbox->checkSecurity(
['if', 'set'],
['default'],
['theme_base_path', 'bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_icon.twig_ONzt-UU7CW2ttPa9K5TYOmDow', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @atoms/04-images/icon.twig */
class __TwigTemplate_d77fad020b4b9f79fbcf0e0aaaa2063efc3e65f0d947774507a7c9ab09dc3264 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
if (($context["icon"] ?? null)) {
// line 2
echo " ";
$context["sprite_url"] = (call_user_func_array($this->env->getFunction('theme_base_path')->getCallable(), []) . "/dist/sprite.svg?v=1.6");
// line 3
echo " ";
$context["attributes"] = $this->getAttribute(($context["attributes"] ?? null), "setAttribute", [0 => "width", 1 => (((isset($context["width"]) || array_key_exists("width", $context))) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(($context["width"] ?? null)), "100%")) : ("100%"))], "method");
// line 4
echo " ";
$context["attributes"] = $this->getAttribute(($context["attributes"] ?? null), "setAttribute", [0 => "height", 1 => (((isset($context["height"]) || array_key_exists("height", $context))) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(($context["height"] ?? null)), "100%")) : ("100%"))], "method");
// line 5
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "icon", [0 => ($context["icon"] ?? null)]]));
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null)), "html", null, true);
echo " >
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["sprite_url"] ?? null)), "html", null, true);
echo "#";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["icon"] ?? null)), "html", null, true);
echo "\" />
";
}
}
public function getTemplateName()
{
return "@atoms/04-images/icon.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 52 => 7, 46 => 6, 43 => 5, 40 => 4, 37 => 3, 34 => 2, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{% if icon %}
{% set sprite_url = theme_base_path() ~ '/dist/sprite.svg?v=1.6'%}
{% set attributes = attributes.setAttribute('width', width|default('100%')) %}
{% set attributes = attributes.setAttribute('height', height|default('100%')) %}
{% endif %}
", "@atoms/04-images/icon.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/01-atoms/04-images/icon.twig");
}
public function checkSecurity()
{
static $tags = ["if" => 1, "set" => 2];
static $filters = ["default" => 3];
static $functions = ["theme_base_path" => 2, "bem" => 6];
try {
$this->sandbox->checkSecurity(
['if', 'set'],
['default'],
['theme_base_path', 'bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_d77fad020b4b9f79fbcf0e0aaaa2063efc3e65f0d947774507a7c9ab09dc3264', '@atoms/04-images/icon.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('@atoms/04-images/icon.twig', NULL) (Line: 375)
Twig\Template->loadTemplate('@atoms/04-images/icon.twig', '@organisms/board/board-header.twig', 33) (Line: 103)
__TwigTemplate_356897f245702c099501f82cf3f1ee4d71f332442683dfcfc0dcae6d0fc01811->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 40)
__TwigTemplate_b748fef97a52a78056e78bd1155059923609d0119f51a59c00075747e180639e->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 35)
__TwigTemplate_e87c942e6c594a12eb550e5f12f4e8893855df8004f8107051b4f6b795f63daf->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/board/board.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('board', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_01-button.twig_p0TuhW0eUIHA27YHZ5YH-ggV1', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @atoms/06-buttons/01-button.twig */
class __TwigTemplate_200393d56410ef6839cdf6e24a117eeae7d503ffad70ad4109cbfade1347998f extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
'button_content' => [$this, 'block_button_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 16
$context["button_base_class"] = (((isset($context["button_base_class"]) || array_key_exists("button_base_class", $context))) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(($context["button_base_class"] ?? null)), "button")) : ("button"));
// line 17
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, $this->sandbox->ensureToStringAllowed(($context["button_base_class"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["button_modifiers"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["button_blockname"] ?? null))]));
echo "
";
// line 19
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["button_attributes"] ?? null));
foreach ($context['_seq'] as $context["attribute"] => $context["value"]) {
// line 20
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($context["attribute"]), "html", null, true);
echo "=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($context["value"]), "html", null, true);
echo "\"
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['attribute'], $context['value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 22
echo " ";
// line 23
echo ">
";
// line 24
$this->displayBlock('button_content', $context, $blocks);
// line 27
echo "
";
}
// line 24
public function block_button_content($context, array $blocks = [])
{
// line 25
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["button_content"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "@atoms/06-buttons/01-button.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 72 => 25, 69 => 24, 64 => 27, 62 => 24, 59 => 23, 57 => 22, 46 => 20, 42 => 19, 38 => 18, 35 => 17, 33 => 16,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* Available variables:
* - button_base_class - the base class name
* - button_modifiers - array of modifiers to add to the base classname
* - button_blockname - blockname prepended to the base classname
* - button_attributes - array of attribute,value pairs
* - button_url - the url this button should poing to
* - button_content - the content of the button (typically text)
*
* Available blocks:
* - button_content - used to replace the content of the button with something other than text
* for example: to insert an icon
*/
#}
{% set button_base_class = button_base_class|default('button') %}
{% block button_content %}
{{ button_content }}
{% endblock %}
", "@atoms/06-buttons/01-button.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/01-atoms/06-buttons/01-button.twig");
}
public function checkSecurity()
{
static $tags = ["set" => 16, "for" => 19, "block" => 24];
static $filters = ["default" => 16];
static $functions = ["bem" => 18];
try {
$this->sandbox->checkSecurity(
['set', 'for', 'block'],
['default'],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_01-button.twig_p0TuhW0eUIHA27YHZ5YH-ggV1', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @atoms/06-buttons/01-button.twig */
class __TwigTemplate_200393d56410ef6839cdf6e24a117eeae7d503ffad70ad4109cbfade1347998f extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
'button_content' => [$this, 'block_button_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 16
$context["button_base_class"] = (((isset($context["button_base_class"]) || array_key_exists("button_base_class", $context))) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(($context["button_base_class"] ?? null)), "button")) : ("button"));
// line 17
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, $this->sandbox->ensureToStringAllowed(($context["button_base_class"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["button_modifiers"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["button_blockname"] ?? null))]));
echo "
";
// line 19
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["button_attributes"] ?? null));
foreach ($context['_seq'] as $context["attribute"] => $context["value"]) {
// line 20
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($context["attribute"]), "html", null, true);
echo "=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($context["value"]), "html", null, true);
echo "\"
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['attribute'], $context['value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 22
echo " ";
// line 23
echo ">
";
// line 24
$this->displayBlock('button_content', $context, $blocks);
// line 27
echo "
";
}
// line 24
public function block_button_content($context, array $blocks = [])
{
// line 25
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["button_content"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "@atoms/06-buttons/01-button.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 72 => 25, 69 => 24, 64 => 27, 62 => 24, 59 => 23, 57 => 22, 46 => 20, 42 => 19, 38 => 18, 35 => 17, 33 => 16,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* Available variables:
* - button_base_class - the base class name
* - button_modifiers - array of modifiers to add to the base classname
* - button_blockname - blockname prepended to the base classname
* - button_attributes - array of attribute,value pairs
* - button_url - the url this button should poing to
* - button_content - the content of the button (typically text)
*
* Available blocks:
* - button_content - used to replace the content of the button with something other than text
* for example: to insert an icon
*/
#}
{% set button_base_class = button_base_class|default('button') %}
{% block button_content %}
{{ button_content }}
{% endblock %}
", "@atoms/06-buttons/01-button.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/01-atoms/06-buttons/01-button.twig");
}
public function checkSecurity()
{
static $tags = ["set" => 16, "for" => 19, "block" => 24];
static $filters = ["default" => 16];
static $functions = ["bem" => 18];
try {
$this->sandbox->checkSecurity(
['set', 'for', 'block'],
['default'],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_200393d56410ef6839cdf6e24a117eeae7d503ffad70ad4109cbfade1347998f', '@atoms/06-buttons/01-button.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('@atoms/06-buttons/01-button.twig', NULL) (Line: 375)
Twig\Template->loadTemplate('@atoms/06-buttons/01-button.twig', '@organisms/board/board-header.twig', 41) (Line: 113)
__TwigTemplate_356897f245702c099501f82cf3f1ee4d71f332442683dfcfc0dcae6d0fc01811->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 40)
__TwigTemplate_b748fef97a52a78056e78bd1155059923609d0119f51a59c00075747e180639e->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 35)
__TwigTemplate_e87c942e6c594a12eb550e5f12f4e8893855df8004f8107051b4f6b795f63daf->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/board/board.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('board', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f__menu.twig_PURM9cMz_ycqMLmYSW-E_8UQg', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @molecules/menus/_menu.twig */
class __TwigTemplate_5b0d982ca2654521f2c6f9ac02d26536c83b046f5cda876f59def71925ff2f94 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 21
$context["menus"] = $this;
// line 22
echo "
";
// line 27
echo "
";
// line 28
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($context["menus"]->getmenu_links(($context["items"] ?? null), ($context["image_url"] ?? null), ($context["attributes"] ?? null), 0, ($context["menu_class"] ?? null), ($context["menu_modifiers"] ?? null), ($context["menu_blockname"] ?? null), ($context["item_base_class"] ?? null), ($context["item_modifiers"] ?? null), ($context["item_blockname"] ?? null), ($context["icon_menu"] ?? null)));
echo "
";
}
// line 30
public function getmenu_links($__items__ = null, $__image_url__ = null, $__attributes__ = null, $__menu_level__ = null, $__menu_class__ = null, $__menu_modifiers__ = null, $__menu_blockname__ = null, $__item_base_class__ = null, $__item_modifiers__ = null, $__item_blockname__ = null, $__icon_menu__ = null, ...$__varargs__)
{
$context = $this->env->mergeGlobals([
"items" => $__items__,
"image_url" => $__image_url__,
"attributes" => $__attributes__,
"menu_level" => $__menu_level__,
"menu_class" => $__menu_class__,
"menu_modifiers" => $__menu_modifiers__,
"menu_blockname" => $__menu_blockname__,
"item_base_class" => $__item_base_class__,
"item_modifiers" => $__item_modifiers__,
"item_blockname" => $__item_blockname__,
"icon_menu" => $__icon_menu__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start();
try {
// line 31
echo " ";
$context["menus"] = $this;
// line 32
echo " ";
if (($context["items"] ?? null)) {
// line 33
echo "
";
// line 35
echo " ";
$context["menu_class"] = (((isset($context["menu_class"]) || array_key_exists("menu_class", $context))) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(($context["menu_class"] ?? null)), "menu")) : ("menu"));
// line 36
echo " ";
if ( !($context["menu_modifiers"] ?? null)) {
// line 37
echo " ";
$context["menu_modifiers"] = [];
// line 38
echo " ";
}
// line 39
echo " ";
if ((($context["menu_level"] ?? null) > 0)) {
// line 40
echo " ";
$context["menu_modifiers"] = twig_array_merge($this->sandbox->ensureToStringAllowed(($context["menu_modifiers"] ?? null)), [0 => "sub", 1 => ("sub-" . $this->sandbox->ensureToStringAllowed(($context["menu_level"] ?? null)))]);
// line 41
echo " ";
}
// line 42
echo "
";
// line 44
echo "
";
// line 46
if (($context["image_url"] ?? null)) {
// line 47
echo "
";
// line 48
$this->loadTemplate("@atoms/04-images/00-image/image.twig", "@molecules/menus/_menu.twig", 48)->display(twig_array_merge($context, ["img_src" => // line 49
($context["image_url"] ?? null)]));
// line 51
echo "
";
}
// line 53
echo "
";
// line 55
$this->loadTemplate("@molecules/menus/_menu.twig", "@molecules/menus/_menu.twig", 55, "1706337000")->display(twig_array_merge($context, ["ul_base_class" => // line 56
($context["menu_class"] ?? null), "ul_modifiers" => // line 57
($context["menu_modifiers"] ?? null), "ul_blockname" => // line 58
($context["menu_blockname"] ?? null)]));
// line 74
echo "
";
// line 75
if (($context["image_url"] ?? null)) {
// line 76
echo "
";
}
// line 78
echo "
";
}
} catch (\Exception $e) {
ob_end_clean();
throw $e;
} catch (\Throwable $e) {
ob_end_clean();
throw $e;
}
return ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
}
public function getTemplateName()
{
return "@molecules/menus/_menu.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 136 => 78, 132 => 76, 130 => 75, 127 => 74, 125 => 58, 124 => 57, 123 => 56, 122 => 55, 118 => 53, 114 => 51, 112 => 49, 111 => 48, 108 => 47, 106 => 46, 102 => 44, 99 => 42, 96 => 41, 93 => 40, 90 => 39, 87 => 38, 84 => 37, 81 => 36, 78 => 35, 75 => 33, 72 => 32, 69 => 31, 47 => 30, 40 => 28, 37 => 27, 34 => 22, 32 => 21,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override to display a menu.
*
* Available variables:
* - menu_name: The machine name of the menu.
* - items: A nested list of menu items. Each menu item contains:
* - attributes: HTML attributes for the menu item.
* - below: The menu item child items.
* - title: The menu link title.
* - url: The menu link url, instance of \\Drupal\\Core\\Url
* - localized_options: Menu link localized options.
* - is_expanded: TRUE if the link has visible children within the current
* menu tree.
* - is_collapsed: TRUE if the link has children within the current menu tree
* that are not currently visible.
* - in_active_trail: TRUE if the link is in the active trail.
*/
#}
{% import _self as menus %}
{#
We call a macro which calls itself to render the full tree.
@see http://twig.sensiolabs.org/doc/tags/macro.html
#}
{{ menus.menu_links(items, image_url, attributes, 0, menu_class, menu_modifiers, menu_blockname, item_base_class, item_modifiers, item_blockname, icon_menu) }}
{% macro menu_links(items, image_url, attributes, menu_level, menu_class, menu_modifiers, menu_blockname, item_base_class, item_modifiers, item_blockname, icon_menu = null) %}
{% import _self as menus %}
{% if items %}
{# Set classes #}
{% set menu_class = menu_class|default('menu') %}
{% if not menu_modifiers %}
{% set menu_modifiers = [] %}
{% endif %}
{% if menu_level > 0 %}
{% set menu_modifiers = menu_modifiers|merge(['sub', 'sub-' ~ menu_level]) %}
{% endif %}
{# List #}
{% if image_url %}
{% include \"@atoms/04-images/00-image/image.twig\" with {
\"img_src\": image_url
} %}
{% endif %}
{% embed \"@atoms/03-lists/00-ul.twig\" with {
ul_base_class: menu_class,
ul_modifiers: menu_modifiers,
ul_blockname: menu_blockname
} %}
{% block list_content %}
{% for item in items %}
{% include \"@molecules/menus/_menu-item.twig\" with {
li_base_class: item_base_class,
li_modifiers: item_modifiers,
li_blockname: item_blockname,
link_include_classes: item.link_include_classes,
link_attributes: item.link_attributes,
icon_menu_item: icon_menu
} %}
{#{% endif %}#}
{% endfor %}
{% endblock %}
{% endembed %}
{% if image_url %}
{% endif %}
{% endif %}
{% endmacro %}
", "@molecules/menus/_menu.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/02-molecules/menus/_menu.twig");
}
public function checkSecurity()
{
static $tags = ["import" => 21, "macro" => 30, "if" => 32, "set" => 35, "include" => 48, "embed" => 55];
static $filters = ["default" => 35, "merge" => 40];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['import', 'macro', 'if', 'set', 'include', 'embed'],
['default', 'merge'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
/* @molecules/menus/_menu.twig */
class __TwigTemplate_5b0d982ca2654521f2c6f9ac02d26536c83b046f5cda876f59def71925ff2f94___1706337000 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->blocks = [
'list_content' => [$this, 'block_list_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 55
return "@atoms/03-lists/00-ul.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->parent = $this->loadTemplate("@atoms/03-lists/00-ul.twig", "@molecules/menus/_menu.twig", 55);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 60
public function block_list_content($context, array $blocks = [])
{
// line 61
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 62
echo " ";
$this->loadTemplate("@molecules/menus/_menu-item.twig", "@molecules/menus/_menu.twig", 62)->display(twig_array_merge($context, ["li_base_class" => // line 63
($context["item_base_class"] ?? null), "li_modifiers" => // line 64
($context["item_modifiers"] ?? null), "li_blockname" => // line 65
($context["item_blockname"] ?? null), "link_include_classes" => $this->getAttribute( // line 66
$context["item"], "link_include_classes", []), "link_attributes" => $this->getAttribute( // line 67
$context["item"], "link_attributes", []), "icon_menu_item" => // line 68
($context["icon_menu"] ?? null)]));
// line 70
echo " ";
// line 71
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 72
echo " ";
}
public function getTemplateName()
{
return "@molecules/menus/_menu.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 363 => 72, 349 => 71, 347 => 70, 345 => 68, 344 => 67, 343 => 66, 342 => 65, 341 => 64, 340 => 63, 338 => 62, 320 => 61, 317 => 60, 307 => 55, 136 => 78, 132 => 76, 130 => 75, 127 => 74, 125 => 58, 124 => 57, 123 => 56, 122 => 55, 118 => 53, 114 => 51, 112 => 49, 111 => 48, 108 => 47, 106 => 46, 102 => 44, 99 => 42, 96 => 41, 93 => 40, 90 => 39, 87 => 38, 84 => 37, 81 => 36, 78 => 35, 75 => 33, 72 => 32, 69 => 31, 47 => 30, 40 => 28, 37 => 27, 34 => 22, 32 => 21,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override to display a menu.
*
* Available variables:
* - menu_name: The machine name of the menu.
* - items: A nested list of menu items. Each menu item contains:
* - attributes: HTML attributes for the menu item.
* - below: The menu item child items.
* - title: The menu link title.
* - url: The menu link url, instance of \\Drupal\\Core\\Url
* - localized_options: Menu link localized options.
* - is_expanded: TRUE if the link has visible children within the current
* menu tree.
* - is_collapsed: TRUE if the link has children within the current menu tree
* that are not currently visible.
* - in_active_trail: TRUE if the link is in the active trail.
*/
#}
{% import _self as menus %}
{#
We call a macro which calls itself to render the full tree.
@see http://twig.sensiolabs.org/doc/tags/macro.html
#}
{{ menus.menu_links(items, image_url, attributes, 0, menu_class, menu_modifiers, menu_blockname, item_base_class, item_modifiers, item_blockname, icon_menu) }}
{% macro menu_links(items, image_url, attributes, menu_level, menu_class, menu_modifiers, menu_blockname, item_base_class, item_modifiers, item_blockname, icon_menu = null) %}
{% import _self as menus %}
{% if items %}
{# Set classes #}
{% set menu_class = menu_class|default('menu') %}
{% if not menu_modifiers %}
{% set menu_modifiers = [] %}
{% endif %}
{% if menu_level > 0 %}
{% set menu_modifiers = menu_modifiers|merge(['sub', 'sub-' ~ menu_level]) %}
{% endif %}
{# List #}
{% if image_url %}
{% include \"@atoms/04-images/00-image/image.twig\" with {
\"img_src\": image_url
} %}
{% endif %}
{% embed \"@atoms/03-lists/00-ul.twig\" with {
ul_base_class: menu_class,
ul_modifiers: menu_modifiers,
ul_blockname: menu_blockname
} %}
{% block list_content %}
{% for item in items %}
{% include \"@molecules/menus/_menu-item.twig\" with {
li_base_class: item_base_class,
li_modifiers: item_modifiers,
li_blockname: item_blockname,
link_include_classes: item.link_include_classes,
link_attributes: item.link_attributes,
icon_menu_item: icon_menu
} %}
{#{% endif %}#}
{% endfor %}
{% endblock %}
{% endembed %}
{% if image_url %}
{% endif %}
{% endif %}
{% endmacro %}
", "@molecules/menus/_menu.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/02-molecules/menus/_menu.twig");
}
public function checkSecurity()
{
static $tags = ["for" => 61, "include" => 62];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['for', 'include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f__menu.twig_PURM9cMz_ycqMLmYSW-E_8UQg', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @molecules/menus/_menu.twig */
class __TwigTemplate_5b0d982ca2654521f2c6f9ac02d26536c83b046f5cda876f59def71925ff2f94 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 21
$context["menus"] = $this;
// line 22
echo "
";
// line 27
echo "
";
// line 28
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($context["menus"]->getmenu_links(($context["items"] ?? null), ($context["image_url"] ?? null), ($context["attributes"] ?? null), 0, ($context["menu_class"] ?? null), ($context["menu_modifiers"] ?? null), ($context["menu_blockname"] ?? null), ($context["item_base_class"] ?? null), ($context["item_modifiers"] ?? null), ($context["item_blockname"] ?? null), ($context["icon_menu"] ?? null)));
echo "
";
}
// line 30
public function getmenu_links($__items__ = null, $__image_url__ = null, $__attributes__ = null, $__menu_level__ = null, $__menu_class__ = null, $__menu_modifiers__ = null, $__menu_blockname__ = null, $__item_base_class__ = null, $__item_modifiers__ = null, $__item_blockname__ = null, $__icon_menu__ = null, ...$__varargs__)
{
$context = $this->env->mergeGlobals([
"items" => $__items__,
"image_url" => $__image_url__,
"attributes" => $__attributes__,
"menu_level" => $__menu_level__,
"menu_class" => $__menu_class__,
"menu_modifiers" => $__menu_modifiers__,
"menu_blockname" => $__menu_blockname__,
"item_base_class" => $__item_base_class__,
"item_modifiers" => $__item_modifiers__,
"item_blockname" => $__item_blockname__,
"icon_menu" => $__icon_menu__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start();
try {
// line 31
echo " ";
$context["menus"] = $this;
// line 32
echo " ";
if (($context["items"] ?? null)) {
// line 33
echo "
";
// line 35
echo " ";
$context["menu_class"] = (((isset($context["menu_class"]) || array_key_exists("menu_class", $context))) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(($context["menu_class"] ?? null)), "menu")) : ("menu"));
// line 36
echo " ";
if ( !($context["menu_modifiers"] ?? null)) {
// line 37
echo " ";
$context["menu_modifiers"] = [];
// line 38
echo " ";
}
// line 39
echo " ";
if ((($context["menu_level"] ?? null) > 0)) {
// line 40
echo " ";
$context["menu_modifiers"] = twig_array_merge($this->sandbox->ensureToStringAllowed(($context["menu_modifiers"] ?? null)), [0 => "sub", 1 => ("sub-" . $this->sandbox->ensureToStringAllowed(($context["menu_level"] ?? null)))]);
// line 41
echo " ";
}
// line 42
echo "
";
// line 44
echo "
";
// line 46
if (($context["image_url"] ?? null)) {
// line 47
echo "
";
// line 48
$this->loadTemplate("@atoms/04-images/00-image/image.twig", "@molecules/menus/_menu.twig", 48)->display(twig_array_merge($context, ["img_src" => // line 49
($context["image_url"] ?? null)]));
// line 51
echo "
";
}
// line 53
echo "
";
// line 55
$this->loadTemplate("@molecules/menus/_menu.twig", "@molecules/menus/_menu.twig", 55, "1706337000")->display(twig_array_merge($context, ["ul_base_class" => // line 56
($context["menu_class"] ?? null), "ul_modifiers" => // line 57
($context["menu_modifiers"] ?? null), "ul_blockname" => // line 58
($context["menu_blockname"] ?? null)]));
// line 74
echo "
";
// line 75
if (($context["image_url"] ?? null)) {
// line 76
echo "
";
}
// line 78
echo "
";
}
} catch (\Exception $e) {
ob_end_clean();
throw $e;
} catch (\Throwable $e) {
ob_end_clean();
throw $e;
}
return ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
}
public function getTemplateName()
{
return "@molecules/menus/_menu.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 136 => 78, 132 => 76, 130 => 75, 127 => 74, 125 => 58, 124 => 57, 123 => 56, 122 => 55, 118 => 53, 114 => 51, 112 => 49, 111 => 48, 108 => 47, 106 => 46, 102 => 44, 99 => 42, 96 => 41, 93 => 40, 90 => 39, 87 => 38, 84 => 37, 81 => 36, 78 => 35, 75 => 33, 72 => 32, 69 => 31, 47 => 30, 40 => 28, 37 => 27, 34 => 22, 32 => 21,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override to display a menu.
*
* Available variables:
* - menu_name: The machine name of the menu.
* - items: A nested list of menu items. Each menu item contains:
* - attributes: HTML attributes for the menu item.
* - below: The menu item child items.
* - title: The menu link title.
* - url: The menu link url, instance of \\Drupal\\Core\\Url
* - localized_options: Menu link localized options.
* - is_expanded: TRUE if the link has visible children within the current
* menu tree.
* - is_collapsed: TRUE if the link has children within the current menu tree
* that are not currently visible.
* - in_active_trail: TRUE if the link is in the active trail.
*/
#}
{% import _self as menus %}
{#
We call a macro which calls itself to render the full tree.
@see http://twig.sensiolabs.org/doc/tags/macro.html
#}
{{ menus.menu_links(items, image_url, attributes, 0, menu_class, menu_modifiers, menu_blockname, item_base_class, item_modifiers, item_blockname, icon_menu) }}
{% macro menu_links(items, image_url, attributes, menu_level, menu_class, menu_modifiers, menu_blockname, item_base_class, item_modifiers, item_blockname, icon_menu = null) %}
{% import _self as menus %}
{% if items %}
{# Set classes #}
{% set menu_class = menu_class|default('menu') %}
{% if not menu_modifiers %}
{% set menu_modifiers = [] %}
{% endif %}
{% if menu_level > 0 %}
{% set menu_modifiers = menu_modifiers|merge(['sub', 'sub-' ~ menu_level]) %}
{% endif %}
{# List #}
{% if image_url %}
{% include \"@atoms/04-images/00-image/image.twig\" with {
\"img_src\": image_url
} %}
{% endif %}
{% embed \"@atoms/03-lists/00-ul.twig\" with {
ul_base_class: menu_class,
ul_modifiers: menu_modifiers,
ul_blockname: menu_blockname
} %}
{% block list_content %}
{% for item in items %}
{% include \"@molecules/menus/_menu-item.twig\" with {
li_base_class: item_base_class,
li_modifiers: item_modifiers,
li_blockname: item_blockname,
link_include_classes: item.link_include_classes,
link_attributes: item.link_attributes,
icon_menu_item: icon_menu
} %}
{#{% endif %}#}
{% endfor %}
{% endblock %}
{% endembed %}
{% if image_url %}
{% endif %}
{% endif %}
{% endmacro %}
", "@molecules/menus/_menu.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/02-molecules/menus/_menu.twig");
}
public function checkSecurity()
{
static $tags = ["import" => 21, "macro" => 30, "if" => 32, "set" => 35, "include" => 48, "embed" => 55];
static $filters = ["default" => 35, "merge" => 40];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['import', 'macro', 'if', 'set', 'include', 'embed'],
['default', 'merge'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
/* @molecules/menus/_menu.twig */
class __TwigTemplate_5b0d982ca2654521f2c6f9ac02d26536c83b046f5cda876f59def71925ff2f94___1706337000 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->blocks = [
'list_content' => [$this, 'block_list_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 55
return "@atoms/03-lists/00-ul.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->parent = $this->loadTemplate("@atoms/03-lists/00-ul.twig", "@molecules/menus/_menu.twig", 55);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 60
public function block_list_content($context, array $blocks = [])
{
// line 61
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 62
echo " ";
$this->loadTemplate("@molecules/menus/_menu-item.twig", "@molecules/menus/_menu.twig", 62)->display(twig_array_merge($context, ["li_base_class" => // line 63
($context["item_base_class"] ?? null), "li_modifiers" => // line 64
($context["item_modifiers"] ?? null), "li_blockname" => // line 65
($context["item_blockname"] ?? null), "link_include_classes" => $this->getAttribute( // line 66
$context["item"], "link_include_classes", []), "link_attributes" => $this->getAttribute( // line 67
$context["item"], "link_attributes", []), "icon_menu_item" => // line 68
($context["icon_menu"] ?? null)]));
// line 70
echo " ";
// line 71
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 72
echo " ";
}
public function getTemplateName()
{
return "@molecules/menus/_menu.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 363 => 72, 349 => 71, 347 => 70, 345 => 68, 344 => 67, 343 => 66, 342 => 65, 341 => 64, 340 => 63, 338 => 62, 320 => 61, 317 => 60, 307 => 55, 136 => 78, 132 => 76, 130 => 75, 127 => 74, 125 => 58, 124 => 57, 123 => 56, 122 => 55, 118 => 53, 114 => 51, 112 => 49, 111 => 48, 108 => 47, 106 => 46, 102 => 44, 99 => 42, 96 => 41, 93 => 40, 90 => 39, 87 => 38, 84 => 37, 81 => 36, 78 => 35, 75 => 33, 72 => 32, 69 => 31, 47 => 30, 40 => 28, 37 => 27, 34 => 22, 32 => 21,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override to display a menu.
*
* Available variables:
* - menu_name: The machine name of the menu.
* - items: A nested list of menu items. Each menu item contains:
* - attributes: HTML attributes for the menu item.
* - below: The menu item child items.
* - title: The menu link title.
* - url: The menu link url, instance of \\Drupal\\Core\\Url
* - localized_options: Menu link localized options.
* - is_expanded: TRUE if the link has visible children within the current
* menu tree.
* - is_collapsed: TRUE if the link has children within the current menu tree
* that are not currently visible.
* - in_active_trail: TRUE if the link is in the active trail.
*/
#}
{% import _self as menus %}
{#
We call a macro which calls itself to render the full tree.
@see http://twig.sensiolabs.org/doc/tags/macro.html
#}
{{ menus.menu_links(items, image_url, attributes, 0, menu_class, menu_modifiers, menu_blockname, item_base_class, item_modifiers, item_blockname, icon_menu) }}
{% macro menu_links(items, image_url, attributes, menu_level, menu_class, menu_modifiers, menu_blockname, item_base_class, item_modifiers, item_blockname, icon_menu = null) %}
{% import _self as menus %}
{% if items %}
{# Set classes #}
{% set menu_class = menu_class|default('menu') %}
{% if not menu_modifiers %}
{% set menu_modifiers = [] %}
{% endif %}
{% if menu_level > 0 %}
{% set menu_modifiers = menu_modifiers|merge(['sub', 'sub-' ~ menu_level]) %}
{% endif %}
{# List #}
{% if image_url %}
{% include \"@atoms/04-images/00-image/image.twig\" with {
\"img_src\": image_url
} %}
{% endif %}
{% embed \"@atoms/03-lists/00-ul.twig\" with {
ul_base_class: menu_class,
ul_modifiers: menu_modifiers,
ul_blockname: menu_blockname
} %}
{% block list_content %}
{% for item in items %}
{% include \"@molecules/menus/_menu-item.twig\" with {
li_base_class: item_base_class,
li_modifiers: item_modifiers,
li_blockname: item_blockname,
link_include_classes: item.link_include_classes,
link_attributes: item.link_attributes,
icon_menu_item: icon_menu
} %}
{#{% endif %}#}
{% endfor %}
{% endblock %}
{% endembed %}
{% if image_url %}
{% endif %}
{% endif %}
{% endmacro %}
", "@molecules/menus/_menu.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/02-molecules/menus/_menu.twig");
}
public function checkSecurity()
{
static $tags = ["for" => 61, "include" => 62];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['for', 'include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_5b0d982ca2654521f2c6f9ac02d26536c83b046f5cda876f59def71925ff2f94', '@molecules/menus/_menu.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('@molecules/menus/_menu.twig', NULL) (Line: 375)
Twig\Template->loadTemplate('@molecules/menus/_menu.twig', '@organisms/board/board-header.twig', 91) (Line: 163)
__TwigTemplate_356897f245702c099501f82cf3f1ee4d71f332442683dfcfc0dcae6d0fc01811->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 40)
__TwigTemplate_b748fef97a52a78056e78bd1155059923609d0119f51a59c00075747e180639e->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 35)
__TwigTemplate_e87c942e6c594a12eb550e5f12f4e8893855df8004f8107051b4f6b795f63daf->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/board/board.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('board', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_00-ul.twig_KL_n9Oc9BWqG0YO9hdtKiuodV', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @atoms/03-lists/00-ul.twig */
class __TwigTemplate_a6e8d13e165f06e7636fc759c13b7093434df8f59be9176bd09adb0b1334677b extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
'list_content' => [$this, 'block_list_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 11
$context["ul_base_class"] = (((isset($context["ul_base_class"]) || array_key_exists("ul_base_class", $context))) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(($context["ul_base_class"] ?? null)), "ul")) : ("ul"));
// line 12
echo "
<ul>env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, $this->sandbox->ensureToStringAllowed(($context["ul_base_class"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["ul_modifiers"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["ul_blockname"] ?? null))]));
echo ">
";
// line 14
$this->displayBlock('list_content', $context, $blocks);
// line 26
echo "</ul>
";
}
// line 14
public function block_list_content($context, array $blocks = [])
{
// line 15
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["ul_items"] ?? null));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["ul_item"]) {
// line 16
echo " ";
$this->loadTemplate("@atoms/03-lists/_list-item.twig", "@atoms/03-lists/00-ul.twig", 16)->display(twig_array_merge($context, ["list_item_label" => $this->getAttribute( // line 17
$context["ul_item"], "label", []), "list_item_content" => $this->getAttribute( // line 18
$context["ul_item"], "content", []), "li_base_class" => $this->getAttribute( // line 19
$context["ul_item"], "li_base_class", []), "li_base_class" => $this->getAttribute( // line 20
$context["ul_item"], "li_base_class", []), "li_modifiers" => $this->getAttribute( // line 21
$context["ul_item"], "li_modifiers", []), "li_blockname" => $this->getAttribute( // line 22
$context["ul_item"], "li_blockname", [])]));
// line 24
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ul_item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 25
echo " ";
}
public function getTemplateName()
{
return "@atoms/03-lists/00-ul.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 93 => 25, 79 => 24, 77 => 22, 76 => 21, 75 => 20, 74 => 19, 73 => 18, 72 => 17, 70 => 16, 52 => 15, 49 => 14, 44 => 26, 42 => 14, 38 => 13, 35 => 12, 33 => 11,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* Available variables:
* - ul_base_class - the base classname
* - ul_modifiers - array of modifiers to add to the base classname
* - ul_blockname - blockname prepended to the base classname
*
* - listItems - TBD
*/
#}
{% set ul_base_class = ul_base_class|default('ul') %}
<ul>
{% block list_content %}
{% for ul_item in ul_items %}
{% include \"@atoms/03-lists/_list-item.twig\" with {
\"list_item_label\": ul_item.label,
\"list_item_content\": ul_item.content,
\"li_base_class\": ul_item.li_base_class,
\"li_base_class\": ul_item.li_base_class,
\"li_modifiers\": ul_item.li_modifiers,
\"li_blockname\": ul_item.li_blockname,
} %}
{% endfor %}
{% endblock %}
</ul>
", "@atoms/03-lists/00-ul.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/01-atoms/03-lists/00-ul.twig");
}
public function checkSecurity()
{
static $tags = ["set" => 11, "block" => 14, "for" => 15, "include" => 16];
static $filters = ["default" => 11];
static $functions = ["bem" => 13];
try {
$this->sandbox->checkSecurity(
['set', 'block', 'for', 'include'],
['default'],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_00-ul.twig_KL_n9Oc9BWqG0YO9hdtKiuodV', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @atoms/03-lists/00-ul.twig */
class __TwigTemplate_a6e8d13e165f06e7636fc759c13b7093434df8f59be9176bd09adb0b1334677b extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
'list_content' => [$this, 'block_list_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 11
$context["ul_base_class"] = (((isset($context["ul_base_class"]) || array_key_exists("ul_base_class", $context))) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(($context["ul_base_class"] ?? null)), "ul")) : ("ul"));
// line 12
echo "
<ul>env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, $this->sandbox->ensureToStringAllowed(($context["ul_base_class"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["ul_modifiers"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["ul_blockname"] ?? null))]));
echo ">
";
// line 14
$this->displayBlock('list_content', $context, $blocks);
// line 26
echo "</ul>
";
}
// line 14
public function block_list_content($context, array $blocks = [])
{
// line 15
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["ul_items"] ?? null));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["ul_item"]) {
// line 16
echo " ";
$this->loadTemplate("@atoms/03-lists/_list-item.twig", "@atoms/03-lists/00-ul.twig", 16)->display(twig_array_merge($context, ["list_item_label" => $this->getAttribute( // line 17
$context["ul_item"], "label", []), "list_item_content" => $this->getAttribute( // line 18
$context["ul_item"], "content", []), "li_base_class" => $this->getAttribute( // line 19
$context["ul_item"], "li_base_class", []), "li_base_class" => $this->getAttribute( // line 20
$context["ul_item"], "li_base_class", []), "li_modifiers" => $this->getAttribute( // line 21
$context["ul_item"], "li_modifiers", []), "li_blockname" => $this->getAttribute( // line 22
$context["ul_item"], "li_blockname", [])]));
// line 24
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ul_item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 25
echo " ";
}
public function getTemplateName()
{
return "@atoms/03-lists/00-ul.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 93 => 25, 79 => 24, 77 => 22, 76 => 21, 75 => 20, 74 => 19, 73 => 18, 72 => 17, 70 => 16, 52 => 15, 49 => 14, 44 => 26, 42 => 14, 38 => 13, 35 => 12, 33 => 11,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* Available variables:
* - ul_base_class - the base classname
* - ul_modifiers - array of modifiers to add to the base classname
* - ul_blockname - blockname prepended to the base classname
*
* - listItems - TBD
*/
#}
{% set ul_base_class = ul_base_class|default('ul') %}
<ul>
{% block list_content %}
{% for ul_item in ul_items %}
{% include \"@atoms/03-lists/_list-item.twig\" with {
\"list_item_label\": ul_item.label,
\"list_item_content\": ul_item.content,
\"li_base_class\": ul_item.li_base_class,
\"li_base_class\": ul_item.li_base_class,
\"li_modifiers\": ul_item.li_modifiers,
\"li_blockname\": ul_item.li_blockname,
} %}
{% endfor %}
{% endblock %}
</ul>
", "@atoms/03-lists/00-ul.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/01-atoms/03-lists/00-ul.twig");
}
public function checkSecurity()
{
static $tags = ["set" => 11, "block" => 14, "for" => 15, "include" => 16];
static $filters = ["default" => 11];
static $functions = ["bem" => 13];
try {
$this->sandbox->checkSecurity(
['set', 'block', 'for', 'include'],
['default'],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_a6e8d13e165f06e7636fc759c13b7093434df8f59be9176bd09adb0b1334677b', '@atoms/03-lists/00-ul.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('@atoms/03-lists/00-ul.twig', NULL) (Line: 375)
Twig\Template->loadTemplate('@atoms/03-lists/00-ul.twig', '@molecules/menus/_menu.twig', 55) (Line: 312)
__TwigTemplate_5b0d982ca2654521f2c6f9ac02d26536c83b046f5cda876f59def71925ff2f94___1706337000->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 122)
__TwigTemplate_5b0d982ca2654521f2c6f9ac02d26536c83b046f5cda876f59def71925ff2f94->getmenu_links(Array, NULL, Object, 0, 'actions-menu', NULL, 'board', NULL, NULL, NULL, 1) (Line: 40)
__TwigTemplate_5b0d982ca2654521f2c6f9ac02d26536c83b046f5cda876f59def71925ff2f94->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 163)
__TwigTemplate_356897f245702c099501f82cf3f1ee4d71f332442683dfcfc0dcae6d0fc01811->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 40)
__TwigTemplate_b748fef97a52a78056e78bd1155059923609d0119f51a59c00075747e180639e->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 35)
__TwigTemplate_e87c942e6c594a12eb550e5f12f4e8893855df8004f8107051b4f6b795f63daf->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/board/board.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('board', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f__menu-item.twig_zZnQa7biB3vmgLfv6BD2Y6ymu', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @molecules/menus/_menu-item.twig */
class __TwigTemplate_2087165039037eaf7b7238181e54bde14e9b677da34a879237eef6c941dad0f7 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
if ( !($context["item_modifiers"] ?? null)) {
// line 2
echo " ";
$context["item_modifiers"] = [];
}
// line 4
if (($this->getAttribute(($context["item"] ?? null), "in_active_trail", []) == true)) {
// line 5
echo " ";
$context["item_modifiers"] = twig_array_merge($this->sandbox->ensureToStringAllowed(($context["item_modifiers"] ?? null)), [0 => "active"]);
}
// line 7
if ((($context["menu_level"] ?? null) > 0)) {
// line 8
echo " ";
$context["item_modifiers"] = twig_array_merge($this->sandbox->ensureToStringAllowed(($context["item_modifiers"] ?? null)), [0 => "sub", 1 => ("sub-" . $this->sandbox->ensureToStringAllowed(($context["menu_level"] ?? null)))]);
}
// line 10
if ($this->getAttribute(($context["item"] ?? null), "image", [])) {
// line 11
echo " ";
$context["item_modifiers"] = twig_array_merge($this->sandbox->ensureToStringAllowed(($context["item_modifiers"] ?? null)), [0 => "with-image"]);
}
// line 13
echo "
";
// line 15
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["item"] ?? null), "modifiers", []));
foreach ($context['_seq'] as $context["_key"] => $context["modifier"]) {
// line 16
echo " ";
$context["item_modifiers"] = twig_array_merge($this->sandbox->ensureToStringAllowed(($context["item_modifiers"] ?? null)), [0 => $context["modifier"]]);
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['modifier'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 18
echo "
";
// line 21
$this->loadTemplate("@molecules/menus/_menu-item.twig", "@molecules/menus/_menu-item.twig", 21, "438199751")->display(twig_array_merge($context, ["list_item_label" => // line 22
($context["item_label"] ?? null), "li_base_class" => (( // line 23
(isset($context["item_base_class"]) || array_key_exists("item_base_class", $context))) ? (_twig_default_filter(($context["item_base_class"] ?? null), (($context["menu_class"] ?? null) . "__item"))) : ((($context["menu_class"] ?? null) . "__item"))), "li_modifiers" => (($this->getAttribute( // line 24
($context["item"] ?? null), "below", [])) ? (twig_array_merge(($context["item_modifiers"] ?? null), [0 => "with-sub"])) : (($context["item_modifiers"] ?? null))), "li_blockname" => // line 25
($context["item_blockname"] ?? null)]));
// line 78
echo "
";
}
public function getTemplateName()
{
return "@molecules/menus/_menu-item.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 81 => 78, 79 => 25, 78 => 24, 77 => 23, 76 => 22, 75 => 21, 70 => 18, 63 => 16, 59 => 15, 56 => 13, 52 => 11, 50 => 10, 46 => 8, 44 => 7, 40 => 5, 38 => 4, 34 => 2, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{% if not item_modifiers %}
{% set item_modifiers = [] %}
{% endif %}
{% if item.in_active_trail == TRUE %}
{% set item_modifiers = item_modifiers|merge(['active']) %}
{% endif %}
{% if menu_level > 0 %}
{% set item_modifiers = item_modifiers|merge(['sub', 'sub-' ~ menu_level]) %}
{% endif %}
{% if item.image %}
{% set item_modifiers = item_modifiers|merge(['with-image']) %}
{% endif %}
{# below could maybe be done without a loop? #}
{% for modifier in item.modifiers %}
{% set item_modifiers = item_modifiers|merge([modifier]) %}
{% endfor %}
{% embed \"@atoms/03-lists/_list-item.twig\" with {
\"list_item_label\": item_label,
\"li_base_class\": item_base_class|default(menu_class ~ '__item'),
\"li_modifiers\": item.below ? item_modifiers|merge(['with-sub']) : item_modifiers,
\"li_blockname\": item_blockname,
} %}
{% block list_item_content %}
{% if icon_menu %}
{% if item.url.toString() == '/cart' %}
<a for value in attributes attribute endfor>
{% include \"@atoms/04-images/icon.twig\" with {
icon: item.title|clean_class,
width: \"100%\",
height: \"100%\"
} %}
{% include \"@atoms/04-images/icon.twig\" with {
icon: 'shopping-bag-empty',
width: \"100%\",
height: \"100%\"
} %}
</a>
{% else %}
<a for value in attributes attribute endfor>
{% include \"@atoms/04-images/icon.twig\" with {
icon: item.title|clean_class,
width: \"100%\",
height: \"100%\"
} %}
</a>
{% endif %}
{% else %}
{% include \"@atoms/01-links/link/link.twig\" with {
\"link_content\": item.title,
\"link_url\": item.url,
\"link_base_class\": item_base_class|default(menu_class ~ '__link'),
\"link_modifiers\": item_modifiers|merge([item.title|clean_class]),
\"link_include_classes\": item.link_include_classes,
\"link_attributes\": item.link_attributes
} %}
{% endif %}
{% if item.below %}
{{ menus.menu_links(item.below, item.image, attributes, menu_level + 1, menu_class, menu_modifiers, menu_blockname, item_base_class, item_modifiers, item_blockname) }}
{% endif %}
{% endblock %}
{% endembed %}
", "@molecules/menus/_menu-item.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/02-molecules/menus/_menu-item.twig");
}
public function checkSecurity()
{
static $tags = ["if" => 1, "set" => 2, "for" => 15, "embed" => 21];
static $filters = ["merge" => 5, "default" => 23];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['if', 'set', 'for', 'embed'],
['merge', 'default'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
/* @molecules/menus/_menu-item.twig */
class __TwigTemplate_2087165039037eaf7b7238181e54bde14e9b677da34a879237eef6c941dad0f7___438199751 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->blocks = [
'list_item_content' => [$this, 'block_list_item_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 21
return "@atoms/03-lists/_list-item.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->parent = $this->loadTemplate("@atoms/03-lists/_list-item.twig", "@molecules/menus/_menu-item.twig", 21);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 27
public function block_list_item_content($context, array $blocks = [])
{
// line 28
echo " ";
if (($context["icon_menu"] ?? null)) {
// line 29
echo " ";
if (($this->getAttribute($this->getAttribute(($context["item"] ?? null), "url", []), "toString", [], "method") == "/cart")) {
// line 30
echo "
<a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["item"] ?? null), "url", [])), "html", null, true);
echo "\" ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "link", [0 => \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed($this->getAttribute(($context["item"] ?? null), "title", [])))], $this->sandbox->ensureToStringAllowed(($context["menu_class"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["link_include_classes"] ?? null))]));
echo "
";
// line 32
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["item"] ?? null), "link_attributes", []));
foreach ($context['_seq'] as $context["attribute"] => $context["value"]) {
// line 33
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($context["attribute"]), "html", null, true);
echo "=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($context["value"]), "html", null, true);
echo "\"
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['attribute'], $context['value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 34
echo " >
";
// line 35
$this->loadTemplate("@atoms/04-images/icon.twig", "@molecules/menus/_menu-item.twig", 35)->display(twig_array_merge($context, ["icon" => \Drupal\Component\Utility\Html::getClass($this->getAttribute( // line 36
($context["item"] ?? null), "title", [])), "width" => "100%", "height" => "100%"]));
// line 40
echo " ";
$this->loadTemplate("@atoms/04-images/icon.twig", "@molecules/menus/_menu-item.twig", 40)->display(twig_array_merge($context, ["icon" => "shopping-bag-empty", "width" => "100%", "height" => "100%"]));
// line 45
echo " </a>
";
} else {
// line 48
echo "
<a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["item"] ?? null), "url", [])), "html", null, true);
echo "\" ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "link", [0 => \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed($this->getAttribute(($context["item"] ?? null), "title", [])))], $this->sandbox->ensureToStringAllowed(($context["menu_class"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["link_include_classes"] ?? null))]));
echo "
";
// line 50
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["item"] ?? null), "link_attributes", []));
foreach ($context['_seq'] as $context["attribute"] => $context["value"]) {
// line 51
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($context["attribute"]), "html", null, true);
echo "=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($context["value"]), "html", null, true);
echo "\"
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['attribute'], $context['value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 52
echo " >
";
// line 53
$this->loadTemplate("@atoms/04-images/icon.twig", "@molecules/menus/_menu-item.twig", 53)->display(twig_array_merge($context, ["icon" => \Drupal\Component\Utility\Html::getClass($this->getAttribute( // line 54
($context["item"] ?? null), "title", [])), "width" => "100%", "height" => "100%"]));
// line 58
echo " </a>
";
}
// line 61
echo "
";
} else {
// line 63
echo " ";
$this->loadTemplate("@atoms/01-links/link/link.twig", "@molecules/menus/_menu-item.twig", 63)->display(twig_array_merge($context, ["link_content" => $this->getAttribute( // line 64
($context["item"] ?? null), "title", []), "link_url" => $this->getAttribute( // line 65
($context["item"] ?? null), "url", []), "link_base_class" => (( // line 66
(isset($context["item_base_class"]) || array_key_exists("item_base_class", $context))) ? (_twig_default_filter(($context["item_base_class"] ?? null), (($context["menu_class"] ?? null) . "__link"))) : ((($context["menu_class"] ?? null) . "__link"))), "link_modifiers" => twig_array_merge( // line 67
($context["item_modifiers"] ?? null), [0 => \Drupal\Component\Utility\Html::getClass($this->getAttribute(($context["item"] ?? null), "title", []))]), "link_include_classes" => $this->getAttribute( // line 68
($context["item"] ?? null), "link_include_classes", []), "link_attributes" => $this->getAttribute( // line 69
($context["item"] ?? null), "link_attributes", [])]));
// line 71
echo " ";
}
// line 72
echo " ";
if ($this->getAttribute(($context["item"] ?? null), "below", [])) {
// line 73
echo "
";
// line 74
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["menus"] ?? null), "menu_links", [0 => $this->getAttribute(($context["item"] ?? null), "below", []), 1 => $this->getAttribute(($context["item"] ?? null), "image", []), 2 => ($context["attributes"] ?? null), 3 => (($context["menu_level"] ?? null) + 1), 4 => ($context["menu_class"] ?? null), 5 => ($context["menu_modifiers"] ?? null), 6 => ($context["menu_blockname"] ?? null), 7 => ($context["item_base_class"] ?? null), 8 => ($context["item_modifiers"] ?? null), 9 => ($context["item_blockname"] ?? null)], "method")), "html", null, true);
echo "
";
}
// line 76
echo " ";
}
public function getTemplateName()
{
return "@molecules/menus/_menu-item.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 363 => 76, 358 => 74, 355 => 73, 352 => 72, 349 => 71, 347 => 69, 346 => 68, 345 => 67, 344 => 66, 343 => 65, 342 => 64, 340 => 63, 336 => 61, 331 => 58, 329 => 54, 328 => 53, 325 => 52, 314 => 51, 310 => 50, 304 => 49, 301 => 48, 296 => 45, 293 => 40, 291 => 36, 290 => 35, 287 => 34, 276 => 33, 272 => 32, 266 => 31, 263 => 30, 260 => 29, 257 => 28, 254 => 27, 244 => 21, 81 => 78, 79 => 25, 78 => 24, 77 => 23, 76 => 22, 75 => 21, 70 => 18, 63 => 16, 59 => 15, 56 => 13, 52 => 11, 50 => 10, 46 => 8, 44 => 7, 40 => 5, 38 => 4, 34 => 2, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{% if not item_modifiers %}
{% set item_modifiers = [] %}
{% endif %}
{% if item.in_active_trail == TRUE %}
{% set item_modifiers = item_modifiers|merge(['active']) %}
{% endif %}
{% if menu_level > 0 %}
{% set item_modifiers = item_modifiers|merge(['sub', 'sub-' ~ menu_level]) %}
{% endif %}
{% if item.image %}
{% set item_modifiers = item_modifiers|merge(['with-image']) %}
{% endif %}
{# below could maybe be done without a loop? #}
{% for modifier in item.modifiers %}
{% set item_modifiers = item_modifiers|merge([modifier]) %}
{% endfor %}
{% embed \"@atoms/03-lists/_list-item.twig\" with {
\"list_item_label\": item_label,
\"li_base_class\": item_base_class|default(menu_class ~ '__item'),
\"li_modifiers\": item.below ? item_modifiers|merge(['with-sub']) : item_modifiers,
\"li_blockname\": item_blockname,
} %}
{% block list_item_content %}
{% if icon_menu %}
{% if item.url.toString() == '/cart' %}
<a for value in attributes attribute endfor>
{% include \"@atoms/04-images/icon.twig\" with {
icon: item.title|clean_class,
width: \"100%\",
height: \"100%\"
} %}
{% include \"@atoms/04-images/icon.twig\" with {
icon: 'shopping-bag-empty',
width: \"100%\",
height: \"100%\"
} %}
</a>
{% else %}
<a for value in attributes attribute endfor>
{% include \"@atoms/04-images/icon.twig\" with {
icon: item.title|clean_class,
width: \"100%\",
height: \"100%\"
} %}
</a>
{% endif %}
{% else %}
{% include \"@atoms/01-links/link/link.twig\" with {
\"link_content\": item.title,
\"link_url\": item.url,
\"link_base_class\": item_base_class|default(menu_class ~ '__link'),
\"link_modifiers\": item_modifiers|merge([item.title|clean_class]),
\"link_include_classes\": item.link_include_classes,
\"link_attributes\": item.link_attributes
} %}
{% endif %}
{% if item.below %}
{{ menus.menu_links(item.below, item.image, attributes, menu_level + 1, menu_class, menu_modifiers, menu_blockname, item_base_class, item_modifiers, item_blockname) }}
{% endif %}
{% endblock %}
{% endembed %}
", "@molecules/menus/_menu-item.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/02-molecules/menus/_menu-item.twig");
}
public function checkSecurity()
{
static $tags = ["if" => 28, "for" => 32, "include" => 35];
static $filters = ["clean_class" => 31, "default" => 66, "merge" => 67];
static $functions = ["bem" => 31];
try {
$this->sandbox->checkSecurity(
['if', 'for', 'include'],
['clean_class', 'default', 'merge'],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f__menu-item.twig_zZnQa7biB3vmgLfv6BD2Y6ymu', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @molecules/menus/_menu-item.twig */
class __TwigTemplate_2087165039037eaf7b7238181e54bde14e9b677da34a879237eef6c941dad0f7 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
if ( !($context["item_modifiers"] ?? null)) {
// line 2
echo " ";
$context["item_modifiers"] = [];
}
// line 4
if (($this->getAttribute(($context["item"] ?? null), "in_active_trail", []) == true)) {
// line 5
echo " ";
$context["item_modifiers"] = twig_array_merge($this->sandbox->ensureToStringAllowed(($context["item_modifiers"] ?? null)), [0 => "active"]);
}
// line 7
if ((($context["menu_level"] ?? null) > 0)) {
// line 8
echo " ";
$context["item_modifiers"] = twig_array_merge($this->sandbox->ensureToStringAllowed(($context["item_modifiers"] ?? null)), [0 => "sub", 1 => ("sub-" . $this->sandbox->ensureToStringAllowed(($context["menu_level"] ?? null)))]);
}
// line 10
if ($this->getAttribute(($context["item"] ?? null), "image", [])) {
// line 11
echo " ";
$context["item_modifiers"] = twig_array_merge($this->sandbox->ensureToStringAllowed(($context["item_modifiers"] ?? null)), [0 => "with-image"]);
}
// line 13
echo "
";
// line 15
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["item"] ?? null), "modifiers", []));
foreach ($context['_seq'] as $context["_key"] => $context["modifier"]) {
// line 16
echo " ";
$context["item_modifiers"] = twig_array_merge($this->sandbox->ensureToStringAllowed(($context["item_modifiers"] ?? null)), [0 => $context["modifier"]]);
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['modifier'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 18
echo "
";
// line 21
$this->loadTemplate("@molecules/menus/_menu-item.twig", "@molecules/menus/_menu-item.twig", 21, "438199751")->display(twig_array_merge($context, ["list_item_label" => // line 22
($context["item_label"] ?? null), "li_base_class" => (( // line 23
(isset($context["item_base_class"]) || array_key_exists("item_base_class", $context))) ? (_twig_default_filter(($context["item_base_class"] ?? null), (($context["menu_class"] ?? null) . "__item"))) : ((($context["menu_class"] ?? null) . "__item"))), "li_modifiers" => (($this->getAttribute( // line 24
($context["item"] ?? null), "below", [])) ? (twig_array_merge(($context["item_modifiers"] ?? null), [0 => "with-sub"])) : (($context["item_modifiers"] ?? null))), "li_blockname" => // line 25
($context["item_blockname"] ?? null)]));
// line 78
echo "
";
}
public function getTemplateName()
{
return "@molecules/menus/_menu-item.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 81 => 78, 79 => 25, 78 => 24, 77 => 23, 76 => 22, 75 => 21, 70 => 18, 63 => 16, 59 => 15, 56 => 13, 52 => 11, 50 => 10, 46 => 8, 44 => 7, 40 => 5, 38 => 4, 34 => 2, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{% if not item_modifiers %}
{% set item_modifiers = [] %}
{% endif %}
{% if item.in_active_trail == TRUE %}
{% set item_modifiers = item_modifiers|merge(['active']) %}
{% endif %}
{% if menu_level > 0 %}
{% set item_modifiers = item_modifiers|merge(['sub', 'sub-' ~ menu_level]) %}
{% endif %}
{% if item.image %}
{% set item_modifiers = item_modifiers|merge(['with-image']) %}
{% endif %}
{# below could maybe be done without a loop? #}
{% for modifier in item.modifiers %}
{% set item_modifiers = item_modifiers|merge([modifier]) %}
{% endfor %}
{% embed \"@atoms/03-lists/_list-item.twig\" with {
\"list_item_label\": item_label,
\"li_base_class\": item_base_class|default(menu_class ~ '__item'),
\"li_modifiers\": item.below ? item_modifiers|merge(['with-sub']) : item_modifiers,
\"li_blockname\": item_blockname,
} %}
{% block list_item_content %}
{% if icon_menu %}
{% if item.url.toString() == '/cart' %}
<a for value in attributes attribute endfor>
{% include \"@atoms/04-images/icon.twig\" with {
icon: item.title|clean_class,
width: \"100%\",
height: \"100%\"
} %}
{% include \"@atoms/04-images/icon.twig\" with {
icon: 'shopping-bag-empty',
width: \"100%\",
height: \"100%\"
} %}
</a>
{% else %}
<a for value in attributes attribute endfor>
{% include \"@atoms/04-images/icon.twig\" with {
icon: item.title|clean_class,
width: \"100%\",
height: \"100%\"
} %}
</a>
{% endif %}
{% else %}
{% include \"@atoms/01-links/link/link.twig\" with {
\"link_content\": item.title,
\"link_url\": item.url,
\"link_base_class\": item_base_class|default(menu_class ~ '__link'),
\"link_modifiers\": item_modifiers|merge([item.title|clean_class]),
\"link_include_classes\": item.link_include_classes,
\"link_attributes\": item.link_attributes
} %}
{% endif %}
{% if item.below %}
{{ menus.menu_links(item.below, item.image, attributes, menu_level + 1, menu_class, menu_modifiers, menu_blockname, item_base_class, item_modifiers, item_blockname) }}
{% endif %}
{% endblock %}
{% endembed %}
", "@molecules/menus/_menu-item.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/02-molecules/menus/_menu-item.twig");
}
public function checkSecurity()
{
static $tags = ["if" => 1, "set" => 2, "for" => 15, "embed" => 21];
static $filters = ["merge" => 5, "default" => 23];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['if', 'set', 'for', 'embed'],
['merge', 'default'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
/* @molecules/menus/_menu-item.twig */
class __TwigTemplate_2087165039037eaf7b7238181e54bde14e9b677da34a879237eef6c941dad0f7___438199751 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->blocks = [
'list_item_content' => [$this, 'block_list_item_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 21
return "@atoms/03-lists/_list-item.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->parent = $this->loadTemplate("@atoms/03-lists/_list-item.twig", "@molecules/menus/_menu-item.twig", 21);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 27
public function block_list_item_content($context, array $blocks = [])
{
// line 28
echo " ";
if (($context["icon_menu"] ?? null)) {
// line 29
echo " ";
if (($this->getAttribute($this->getAttribute(($context["item"] ?? null), "url", []), "toString", [], "method") == "/cart")) {
// line 30
echo "
<a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["item"] ?? null), "url", [])), "html", null, true);
echo "\" ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "link", [0 => \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed($this->getAttribute(($context["item"] ?? null), "title", [])))], $this->sandbox->ensureToStringAllowed(($context["menu_class"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["link_include_classes"] ?? null))]));
echo "
";
// line 32
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["item"] ?? null), "link_attributes", []));
foreach ($context['_seq'] as $context["attribute"] => $context["value"]) {
// line 33
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($context["attribute"]), "html", null, true);
echo "=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($context["value"]), "html", null, true);
echo "\"
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['attribute'], $context['value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 34
echo " >
";
// line 35
$this->loadTemplate("@atoms/04-images/icon.twig", "@molecules/menus/_menu-item.twig", 35)->display(twig_array_merge($context, ["icon" => \Drupal\Component\Utility\Html::getClass($this->getAttribute( // line 36
($context["item"] ?? null), "title", [])), "width" => "100%", "height" => "100%"]));
// line 40
echo " ";
$this->loadTemplate("@atoms/04-images/icon.twig", "@molecules/menus/_menu-item.twig", 40)->display(twig_array_merge($context, ["icon" => "shopping-bag-empty", "width" => "100%", "height" => "100%"]));
// line 45
echo " </a>
";
} else {
// line 48
echo "
<a line echo this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["item"] ?? null), "url", [])), "html", null, true);
echo "\" ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "link", [0 => \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed($this->getAttribute(($context["item"] ?? null), "title", [])))], $this->sandbox->ensureToStringAllowed(($context["menu_class"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["link_include_classes"] ?? null))]));
echo "
";
// line 50
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["item"] ?? null), "link_attributes", []));
foreach ($context['_seq'] as $context["attribute"] => $context["value"]) {
// line 51
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($context["attribute"]), "html", null, true);
echo "=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($context["value"]), "html", null, true);
echo "\"
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['attribute'], $context['value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 52
echo " >
";
// line 53
$this->loadTemplate("@atoms/04-images/icon.twig", "@molecules/menus/_menu-item.twig", 53)->display(twig_array_merge($context, ["icon" => \Drupal\Component\Utility\Html::getClass($this->getAttribute( // line 54
($context["item"] ?? null), "title", [])), "width" => "100%", "height" => "100%"]));
// line 58
echo " </a>
";
}
// line 61
echo "
";
} else {
// line 63
echo " ";
$this->loadTemplate("@atoms/01-links/link/link.twig", "@molecules/menus/_menu-item.twig", 63)->display(twig_array_merge($context, ["link_content" => $this->getAttribute( // line 64
($context["item"] ?? null), "title", []), "link_url" => $this->getAttribute( // line 65
($context["item"] ?? null), "url", []), "link_base_class" => (( // line 66
(isset($context["item_base_class"]) || array_key_exists("item_base_class", $context))) ? (_twig_default_filter(($context["item_base_class"] ?? null), (($context["menu_class"] ?? null) . "__link"))) : ((($context["menu_class"] ?? null) . "__link"))), "link_modifiers" => twig_array_merge( // line 67
($context["item_modifiers"] ?? null), [0 => \Drupal\Component\Utility\Html::getClass($this->getAttribute(($context["item"] ?? null), "title", []))]), "link_include_classes" => $this->getAttribute( // line 68
($context["item"] ?? null), "link_include_classes", []), "link_attributes" => $this->getAttribute( // line 69
($context["item"] ?? null), "link_attributes", [])]));
// line 71
echo " ";
}
// line 72
echo " ";
if ($this->getAttribute(($context["item"] ?? null), "below", [])) {
// line 73
echo "
";
// line 74
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["menus"] ?? null), "menu_links", [0 => $this->getAttribute(($context["item"] ?? null), "below", []), 1 => $this->getAttribute(($context["item"] ?? null), "image", []), 2 => ($context["attributes"] ?? null), 3 => (($context["menu_level"] ?? null) + 1), 4 => ($context["menu_class"] ?? null), 5 => ($context["menu_modifiers"] ?? null), 6 => ($context["menu_blockname"] ?? null), 7 => ($context["item_base_class"] ?? null), 8 => ($context["item_modifiers"] ?? null), 9 => ($context["item_blockname"] ?? null)], "method")), "html", null, true);
echo "
";
}
// line 76
echo " ";
}
public function getTemplateName()
{
return "@molecules/menus/_menu-item.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 363 => 76, 358 => 74, 355 => 73, 352 => 72, 349 => 71, 347 => 69, 346 => 68, 345 => 67, 344 => 66, 343 => 65, 342 => 64, 340 => 63, 336 => 61, 331 => 58, 329 => 54, 328 => 53, 325 => 52, 314 => 51, 310 => 50, 304 => 49, 301 => 48, 296 => 45, 293 => 40, 291 => 36, 290 => 35, 287 => 34, 276 => 33, 272 => 32, 266 => 31, 263 => 30, 260 => 29, 257 => 28, 254 => 27, 244 => 21, 81 => 78, 79 => 25, 78 => 24, 77 => 23, 76 => 22, 75 => 21, 70 => 18, 63 => 16, 59 => 15, 56 => 13, 52 => 11, 50 => 10, 46 => 8, 44 => 7, 40 => 5, 38 => 4, 34 => 2, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{% if not item_modifiers %}
{% set item_modifiers = [] %}
{% endif %}
{% if item.in_active_trail == TRUE %}
{% set item_modifiers = item_modifiers|merge(['active']) %}
{% endif %}
{% if menu_level > 0 %}
{% set item_modifiers = item_modifiers|merge(['sub', 'sub-' ~ menu_level]) %}
{% endif %}
{% if item.image %}
{% set item_modifiers = item_modifiers|merge(['with-image']) %}
{% endif %}
{# below could maybe be done without a loop? #}
{% for modifier in item.modifiers %}
{% set item_modifiers = item_modifiers|merge([modifier]) %}
{% endfor %}
{% embed \"@atoms/03-lists/_list-item.twig\" with {
\"list_item_label\": item_label,
\"li_base_class\": item_base_class|default(menu_class ~ '__item'),
\"li_modifiers\": item.below ? item_modifiers|merge(['with-sub']) : item_modifiers,
\"li_blockname\": item_blockname,
} %}
{% block list_item_content %}
{% if icon_menu %}
{% if item.url.toString() == '/cart' %}
<a for value in attributes attribute endfor>
{% include \"@atoms/04-images/icon.twig\" with {
icon: item.title|clean_class,
width: \"100%\",
height: \"100%\"
} %}
{% include \"@atoms/04-images/icon.twig\" with {
icon: 'shopping-bag-empty',
width: \"100%\",
height: \"100%\"
} %}
</a>
{% else %}
<a for value in attributes attribute endfor>
{% include \"@atoms/04-images/icon.twig\" with {
icon: item.title|clean_class,
width: \"100%\",
height: \"100%\"
} %}
</a>
{% endif %}
{% else %}
{% include \"@atoms/01-links/link/link.twig\" with {
\"link_content\": item.title,
\"link_url\": item.url,
\"link_base_class\": item_base_class|default(menu_class ~ '__link'),
\"link_modifiers\": item_modifiers|merge([item.title|clean_class]),
\"link_include_classes\": item.link_include_classes,
\"link_attributes\": item.link_attributes
} %}
{% endif %}
{% if item.below %}
{{ menus.menu_links(item.below, item.image, attributes, menu_level + 1, menu_class, menu_modifiers, menu_blockname, item_base_class, item_modifiers, item_blockname) }}
{% endif %}
{% endblock %}
{% endembed %}
", "@molecules/menus/_menu-item.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/02-molecules/menus/_menu-item.twig");
}
public function checkSecurity()
{
static $tags = ["if" => 28, "for" => 32, "include" => 35];
static $filters = ["clean_class" => 31, "default" => 66, "merge" => 67];
static $functions = ["bem" => 31];
try {
$this->sandbox->checkSecurity(
['if', 'for', 'include'],
['clean_class', 'default', 'merge'],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_2087165039037eaf7b7238181e54bde14e9b677da34a879237eef6c941dad0f7', '@molecules/menus/_menu-item.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('@molecules/menus/_menu-item.twig', NULL) (Line: 375)
Twig\Template->loadTemplate('@molecules/menus/_menu-item.twig', '@molecules/menus/_menu.twig', 62) (Line: 339)
__TwigTemplate_5b0d982ca2654521f2c6f9ac02d26536c83b046f5cda876f59def71925ff2f94___1706337000->block_list_content(Array, Array) (Line: 214)
Twig\Template->displayBlock('list_content', Array, Array) (Line: 42)
__TwigTemplate_a6e8d13e165f06e7636fc759c13b7093434df8f59be9176bd09adb0b1334677b->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array, Array) (Line: 313)
__TwigTemplate_5b0d982ca2654521f2c6f9ac02d26536c83b046f5cda876f59def71925ff2f94___1706337000->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 122)
__TwigTemplate_5b0d982ca2654521f2c6f9ac02d26536c83b046f5cda876f59def71925ff2f94->getmenu_links(Array, NULL, Object, 0, 'actions-menu', NULL, 'board', NULL, NULL, NULL, 1) (Line: 40)
__TwigTemplate_5b0d982ca2654521f2c6f9ac02d26536c83b046f5cda876f59def71925ff2f94->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 163)
__TwigTemplate_356897f245702c099501f82cf3f1ee4d71f332442683dfcfc0dcae6d0fc01811->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 40)
__TwigTemplate_b748fef97a52a78056e78bd1155059923609d0119f51a59c00075747e180639e->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 35)
__TwigTemplate_e87c942e6c594a12eb550e5f12f4e8893855df8004f8107051b4f6b795f63daf->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/board/board.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('board', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f__list-item.twig_pp1edls7ko-eSyLs361R75LEi', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @atoms/03-lists/_list-item.twig */
class __TwigTemplate_9162d5e722910dc6fe058e4fc538d75cad54e4e61460007db37d86bd4f249ee8 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
'list_item_content' => [$this, 'block_list_item_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 15
$context["li_base_class"] = (((isset($context["li_base_class"]) || array_key_exists("li_base_class", $context))) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(($context["li_base_class"] ?? null)), "list-item")) : ("list-item"));
// line 16
echo "
<li>env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, $this->sandbox->ensureToStringAllowed(($context["li_base_class"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["li_modifiers"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["li_blockname"] ?? null))]));
echo ">
";
// line 18
$this->displayBlock('list_item_content', $context, $blocks);
// line 22
echo "</li>
";
}
// line 18
public function block_list_item_content($context, array $blocks = [])
{
// line 19
echo " ";
if (($context["list_item_label"] ?? null)) {
echo "<strong>";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["list_item_label"] ?? null)), "html", null, true);
echo "</strong> ";
}
// line 20
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["list_item_content"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "@atoms/03-lists/_list-item.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 59 => 20, 52 => 19, 49 => 18, 44 => 22, 42 => 18, 38 => 17, 35 => 16, 33 => 15,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* Available variables:
* - li_base_class - the base classname
* - li_modifiers - array of modifiers to add to the base classname
* - li_blockname - blockname prepended to the base classname
* - list_item_label - (optional) a <strong> label before the list item itself
* - list_item_content - the content of the list_item (typically text)
*
* Available blocks:
* - list_item_content - used to replace the content of the list_item with something other than text
* for example: to insert the image and/or link components
*/
#}
{% set li_base_class = li_base_class|default('list-item') %}
<li>
{% block list_item_content %}
{% if list_item_label %}<strong>{{ list_item_label }}</strong> {% endif %}
{{ list_item_content }}
{% endblock %}
</li>
", "@atoms/03-lists/_list-item.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/01-atoms/03-lists/_list-item.twig");
}
public function checkSecurity()
{
static $tags = ["set" => 15, "block" => 18, "if" => 19];
static $filters = ["default" => 15];
static $functions = ["bem" => 17];
try {
$this->sandbox->checkSecurity(
['set', 'block', 'if'],
['default'],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f__list-item.twig_pp1edls7ko-eSyLs361R75LEi', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @atoms/03-lists/_list-item.twig */
class __TwigTemplate_9162d5e722910dc6fe058e4fc538d75cad54e4e61460007db37d86bd4f249ee8 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
'list_item_content' => [$this, 'block_list_item_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 15
$context["li_base_class"] = (((isset($context["li_base_class"]) || array_key_exists("li_base_class", $context))) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(($context["li_base_class"] ?? null)), "list-item")) : ("list-item"));
// line 16
echo "
<li>env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, $this->sandbox->ensureToStringAllowed(($context["li_base_class"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["li_modifiers"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["li_blockname"] ?? null))]));
echo ">
";
// line 18
$this->displayBlock('list_item_content', $context, $blocks);
// line 22
echo "</li>
";
}
// line 18
public function block_list_item_content($context, array $blocks = [])
{
// line 19
echo " ";
if (($context["list_item_label"] ?? null)) {
echo "<strong>";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["list_item_label"] ?? null)), "html", null, true);
echo "</strong> ";
}
// line 20
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["list_item_content"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "@atoms/03-lists/_list-item.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 59 => 20, 52 => 19, 49 => 18, 44 => 22, 42 => 18, 38 => 17, 35 => 16, 33 => 15,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* Available variables:
* - li_base_class - the base classname
* - li_modifiers - array of modifiers to add to the base classname
* - li_blockname - blockname prepended to the base classname
* - list_item_label - (optional) a <strong> label before the list item itself
* - list_item_content - the content of the list_item (typically text)
*
* Available blocks:
* - list_item_content - used to replace the content of the list_item with something other than text
* for example: to insert the image and/or link components
*/
#}
{% set li_base_class = li_base_class|default('list-item') %}
<li>
{% block list_item_content %}
{% if list_item_label %}<strong>{{ list_item_label }}</strong> {% endif %}
{{ list_item_content }}
{% endblock %}
</li>
", "@atoms/03-lists/_list-item.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/01-atoms/03-lists/_list-item.twig");
}
public function checkSecurity()
{
static $tags = ["set" => 15, "block" => 18, "if" => 19];
static $filters = ["default" => 15];
static $functions = ["bem" => 17];
try {
$this->sandbox->checkSecurity(
['set', 'block', 'if'],
['default'],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_9162d5e722910dc6fe058e4fc538d75cad54e4e61460007db37d86bd4f249ee8', '@atoms/03-lists/_list-item.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('@atoms/03-lists/_list-item.twig', NULL) (Line: 375)
Twig\Template->loadTemplate('@atoms/03-lists/_list-item.twig', '@molecules/menus/_menu-item.twig', 21) (Line: 249)
__TwigTemplate_2087165039037eaf7b7238181e54bde14e9b677da34a879237eef6c941dad0f7___438199751->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 75)
__TwigTemplate_2087165039037eaf7b7238181e54bde14e9b677da34a879237eef6c941dad0f7->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 339)
__TwigTemplate_5b0d982ca2654521f2c6f9ac02d26536c83b046f5cda876f59def71925ff2f94___1706337000->block_list_content(Array, Array) (Line: 214)
Twig\Template->displayBlock('list_content', Array, Array) (Line: 42)
__TwigTemplate_a6e8d13e165f06e7636fc759c13b7093434df8f59be9176bd09adb0b1334677b->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array, Array) (Line: 313)
__TwigTemplate_5b0d982ca2654521f2c6f9ac02d26536c83b046f5cda876f59def71925ff2f94___1706337000->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 122)
__TwigTemplate_5b0d982ca2654521f2c6f9ac02d26536c83b046f5cda876f59def71925ff2f94->getmenu_links(Array, NULL, Object, 0, 'actions-menu', NULL, 'board', NULL, NULL, NULL, 1) (Line: 40)
__TwigTemplate_5b0d982ca2654521f2c6f9ac02d26536c83b046f5cda876f59def71925ff2f94->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 163)
__TwigTemplate_356897f245702c099501f82cf3f1ee4d71f332442683dfcfc0dcae6d0fc01811->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 40)
__TwigTemplate_b748fef97a52a78056e78bd1155059923609d0119f51a59c00075747e180639e->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 35)
__TwigTemplate_e87c942e6c594a12eb550e5f12f4e8893855df8004f8107051b4f6b795f63daf->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/board/board.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('board', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_board-form-new.twig_F_NddUbALnUe29pcHe6K2PMKU', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @organisms/board/board-form-new.twig */
class __TwigTemplate_fa5836db949f3139c848e09b163b17eee6a856b218473c24be7f5328a418ae00 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo "
";
// line 3
$this->loadTemplate("@atoms/02-text/00-headings/_heading.twig", "@organisms/board/board-form-new.twig", 3)->display(twig_array_merge($context, ["heading_level" => 3, "heading" => "Create New Board", "heading_blockname" => "add-board-form", "heading_base_class" => "heading"]));
// line 9
echo "
Add
";
}
public function getTemplateName()
{
return "@organisms/board/board-form-new.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 38 => 9, 36 => 3, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("
{% include \"@atoms/02-text/00-headings/_heading.twig\" with {
\"heading_level\": 3,
\"heading\": \"Create New Board\",
\"heading_blockname\": \"add-board-form\",
\"heading_base_class\": \"heading\"
} %}
Add
", "@organisms/board/board-form-new.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/03-organisms/board/board-form-new.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 3];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_board-form-new.twig_F_NddUbALnUe29pcHe6K2PMKU', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @organisms/board/board-form-new.twig */
class __TwigTemplate_fa5836db949f3139c848e09b163b17eee6a856b218473c24be7f5328a418ae00 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo "
";
// line 3
$this->loadTemplate("@atoms/02-text/00-headings/_heading.twig", "@organisms/board/board-form-new.twig", 3)->display(twig_array_merge($context, ["heading_level" => 3, "heading" => "Create New Board", "heading_blockname" => "add-board-form", "heading_base_class" => "heading"]));
// line 9
echo "
Add
";
}
public function getTemplateName()
{
return "@organisms/board/board-form-new.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 38 => 9, 36 => 3, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("
{% include \"@atoms/02-text/00-headings/_heading.twig\" with {
\"heading_level\": 3,
\"heading\": \"Create New Board\",
\"heading_blockname\": \"add-board-form\",
\"heading_base_class\": \"heading\"
} %}
Add
", "@organisms/board/board-form-new.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/03-organisms/board/board-form-new.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 3];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_fa5836db949f3139c848e09b163b17eee6a856b218473c24be7f5328a418ae00', '@organisms/board/board-form-new.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('@organisms/board/board-form-new.twig', NULL) (Line: 375)
Twig\Template->loadTemplate('@organisms/board/board-form-new.twig', '@organisms/board/board-header.twig', 97) (Line: 167)
__TwigTemplate_356897f245702c099501f82cf3f1ee4d71f332442683dfcfc0dcae6d0fc01811->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 40)
__TwigTemplate_b748fef97a52a78056e78bd1155059923609d0119f51a59c00075747e180639e->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 35)
__TwigTemplate_e87c942e6c594a12eb550e5f12f4e8893855df8004f8107051b4f6b795f63daf->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/board/board.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('board', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f__heading.twig_D793UJ4EQ_8ZpaRK8AnDUHL4Y', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @atoms/02-text/00-headings/_heading.twig */
class __TwigTemplate_28b36cf87ef38dd468561f7a45332a6c32cf3330818c6e68b5bbfa408683684e extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 19
$context["heading_base_class"] = (((isset($context["heading_base_class"]) || array_key_exists("heading_base_class", $context))) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(($context["heading_base_class"] ?? null)), ("h" . $this->sandbox->ensureToStringAllowed(($context["heading_level"] ?? null))))) : (("h" . $this->sandbox->ensureToStringAllowed(($context["heading_level"] ?? null)))));
// line 20
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["heading_level"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, $this->sandbox->ensureToStringAllowed(($context["heading_base_class"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["heading_modifiers"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["heading_blockname"] ?? null))]));
echo ">
";
// line 22
if (($context["heading_url"] ?? null)) {
// line 23
echo " ";
$this->loadTemplate("@atoms/01-links/link/link.twig", "@atoms/02-text/00-headings/_heading.twig", 23)->display(twig_array_merge($context, ["link_content" => // line 24
($context["heading"] ?? null), "link_url" => // line 25
($context["heading_url"] ?? null), "link_attributes" => // line 26
($context["heading_link_attributes"] ?? null), "link_base_class" => // line 27
($context["heading_link_base_class"] ?? null), "link_modifiers" => // line 28
($context["heading_link_modifiers"] ?? null), "link_blockname" => (( // line 29
(isset($context["heading_link_blockname"]) || array_key_exists("heading_link_blockname", $context))) ? (_twig_default_filter(($context["heading_link_blockname"] ?? null), ($context["heading_base_class"] ?? null))) : (($context["heading_base_class"] ?? null)))]));
// line 31
echo " ";
} else {
// line 32
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["heading"] ?? null)), "html", null, true);
echo "
";
}
// line 34
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["heading_level"] ?? null)), "html", null, true);
echo ">
";
}
public function getTemplateName()
{
return "@atoms/02-text/00-headings/_heading.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 63 => 34, 57 => 32, 54 => 31, 52 => 29, 51 => 28, 50 => 27, 49 => 26, 48 => 25, 47 => 24, 45 => 23, 43 => 22, 37 => 21, 34 => 20, 32 => 19,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* Available variables:
* - heading_level - the header level 1-6 (produces h1, h2, etc.)
*
* - heading_base_class - the base class
* - heading_modifiers - array of modifiers to add to the base classname
* - heading_blockname - blockname prepended to the base classname
*
* - heading - the content of the heading (typically text)
*
* - heading_url - (optional) the url the heading should poing to
* - heading_link_attributes - key/value attributes to pass to link
* - heading_link_base_class - override the link base class
* - heading_link_modifiers - override the link modifiers
* - heading_link_blockname - override the link block name (defaults to heading_base_class)
*/
#}
{% set heading_base_class = heading_base_class|default('h' ~ heading_level) %}
{% if heading_url %}
{% include \"@atoms/01-links/link/link.twig\" with {
\"link_content\": heading,
\"link_url\": heading_url,
\"link_attributes\": heading_link_attributes,
\"link_base_class\": heading_link_base_class,
\"link_modifiers\": heading_link_modifiers,
\"link_blockname\": heading_link_blockname|default(heading_base_class),
} %}
{% else %}
{{ heading }}
{% endif %}
", "@atoms/02-text/00-headings/_heading.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/01-atoms/02-text/00-headings/_heading.twig");
}
public function checkSecurity()
{
static $tags = ["set" => 19, "if" => 22, "include" => 23];
static $filters = ["default" => 19];
static $functions = ["bem" => 21];
try {
$this->sandbox->checkSecurity(
['set', 'if', 'include'],
['default'],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f__heading.twig_D793UJ4EQ_8ZpaRK8AnDUHL4Y', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @atoms/02-text/00-headings/_heading.twig */
class __TwigTemplate_28b36cf87ef38dd468561f7a45332a6c32cf3330818c6e68b5bbfa408683684e extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 19
$context["heading_base_class"] = (((isset($context["heading_base_class"]) || array_key_exists("heading_base_class", $context))) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(($context["heading_base_class"] ?? null)), ("h" . $this->sandbox->ensureToStringAllowed(($context["heading_level"] ?? null))))) : (("h" . $this->sandbox->ensureToStringAllowed(($context["heading_level"] ?? null)))));
// line 20
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["heading_level"] ?? null)), "html", null, true);
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, $this->sandbox->ensureToStringAllowed(($context["heading_base_class"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["heading_modifiers"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["heading_blockname"] ?? null))]));
echo ">
";
// line 22
if (($context["heading_url"] ?? null)) {
// line 23
echo " ";
$this->loadTemplate("@atoms/01-links/link/link.twig", "@atoms/02-text/00-headings/_heading.twig", 23)->display(twig_array_merge($context, ["link_content" => // line 24
($context["heading"] ?? null), "link_url" => // line 25
($context["heading_url"] ?? null), "link_attributes" => // line 26
($context["heading_link_attributes"] ?? null), "link_base_class" => // line 27
($context["heading_link_base_class"] ?? null), "link_modifiers" => // line 28
($context["heading_link_modifiers"] ?? null), "link_blockname" => (( // line 29
(isset($context["heading_link_blockname"]) || array_key_exists("heading_link_blockname", $context))) ? (_twig_default_filter(($context["heading_link_blockname"] ?? null), ($context["heading_base_class"] ?? null))) : (($context["heading_base_class"] ?? null)))]));
// line 31
echo " ";
} else {
// line 32
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["heading"] ?? null)), "html", null, true);
echo "
";
}
// line 34
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["heading_level"] ?? null)), "html", null, true);
echo ">
";
}
public function getTemplateName()
{
return "@atoms/02-text/00-headings/_heading.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 63 => 34, 57 => 32, 54 => 31, 52 => 29, 51 => 28, 50 => 27, 49 => 26, 48 => 25, 47 => 24, 45 => 23, 43 => 22, 37 => 21, 34 => 20, 32 => 19,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* Available variables:
* - heading_level - the header level 1-6 (produces h1, h2, etc.)
*
* - heading_base_class - the base class
* - heading_modifiers - array of modifiers to add to the base classname
* - heading_blockname - blockname prepended to the base classname
*
* - heading - the content of the heading (typically text)
*
* - heading_url - (optional) the url the heading should poing to
* - heading_link_attributes - key/value attributes to pass to link
* - heading_link_base_class - override the link base class
* - heading_link_modifiers - override the link modifiers
* - heading_link_blockname - override the link block name (defaults to heading_base_class)
*/
#}
{% set heading_base_class = heading_base_class|default('h' ~ heading_level) %}
{% if heading_url %}
{% include \"@atoms/01-links/link/link.twig\" with {
\"link_content\": heading,
\"link_url\": heading_url,
\"link_attributes\": heading_link_attributes,
\"link_base_class\": heading_link_base_class,
\"link_modifiers\": heading_link_modifiers,
\"link_blockname\": heading_link_blockname|default(heading_base_class),
} %}
{% else %}
{{ heading }}
{% endif %}
", "@atoms/02-text/00-headings/_heading.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/01-atoms/02-text/00-headings/_heading.twig");
}
public function checkSecurity()
{
static $tags = ["set" => 19, "if" => 22, "include" => 23];
static $filters = ["default" => 19];
static $functions = ["bem" => 21];
try {
$this->sandbox->checkSecurity(
['set', 'if', 'include'],
['default'],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_28b36cf87ef38dd468561f7a45332a6c32cf3330818c6e68b5bbfa408683684e', '@atoms/02-text/00-headings/_heading.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('@atoms/02-text/00-headings/_heading.twig', NULL) (Line: 375)
Twig\Template->loadTemplate('@atoms/02-text/00-headings/_heading.twig', '@organisms/board/board-form-new.twig', 3) (Line: 36)
__TwigTemplate_fa5836db949f3139c848e09b163b17eee6a856b218473c24be7f5328a418ae00->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 167)
__TwigTemplate_356897f245702c099501f82cf3f1ee4d71f332442683dfcfc0dcae6d0fc01811->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 40)
__TwigTemplate_b748fef97a52a78056e78bd1155059923609d0119f51a59c00075747e180639e->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 35)
__TwigTemplate_e87c942e6c594a12eb550e5f12f4e8893855df8004f8107051b4f6b795f63daf->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/board/board.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('board', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_field--board--board-item._62Kf4GK7sR_Zs8HkI5uskbllr', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/board/field--board--board-item.html.twig */
class __TwigTemplate_a5a2d1b11d06e1927024fa17a51d7c4abf4019fd050451629d1bd6dcdca1f4c2 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 39
echo "
";
// line 40
$this->loadTemplate("@organisms/board/board-container.twig", "themes/contrib/emulsify/templates/board/field--board--board-item.html.twig", 40)->display($context);
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/board/field--board--board-item.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 35 => 40, 32 => 39,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for a field.
*
* To override output, copy the \"field.html.twig\" from the templates directory
* to your theme's directory and customize it, just like customizing other
* Drupal templates such as page.html.twig or node.html.twig.
*
* Instead of overriding the theming for all fields, you can also just override
* theming for a subset of fields using
* @link themeable Theme hook suggestions. @endlink For example,
* here are some theme hook suggestions that can be used for a field_foo field
* on an article node type:
* - field--node--field-foo--article.html.twig
* - field--node--field-foo.html.twig
* - field--node--article.html.twig
* - field--field-foo.html.twig
* - field--text-with-summary.html.twig
* - field.html.twig
*
* Available variables:
* - attributes: HTML attributes for the containing element.
* - label_hidden: Whether to show the field label or not.
* - title_attributes: HTML attributes for the title.
* - label: The label for the field.
* - multiple: TRUE if a field can contain multiple items.
* - items: List of all the field items. Each item contains:
* - attributes: List of HTML attributes for each item.
* - content: The field item's content.
* - entity_type: The entity type to which the field belongs.
* - field_name: The name of the field.
* - field_type: The type of the field.
* - label_display: The display settings for the label.
*
* @see template_preprocess_field()
*/
#}
{% include \"@organisms/board/board-container.twig\" %}
", "themes/contrib/emulsify/templates/board/field--board--board-item.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/board/field--board--board-item.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 40];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_field--board--board-item._62Kf4GK7sR_Zs8HkI5uskbllr', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/board/field--board--board-item.html.twig */
class __TwigTemplate_a5a2d1b11d06e1927024fa17a51d7c4abf4019fd050451629d1bd6dcdca1f4c2 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 39
echo "
";
// line 40
$this->loadTemplate("@organisms/board/board-container.twig", "themes/contrib/emulsify/templates/board/field--board--board-item.html.twig", 40)->display($context);
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/board/field--board--board-item.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 35 => 40, 32 => 39,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for a field.
*
* To override output, copy the \"field.html.twig\" from the templates directory
* to your theme's directory and customize it, just like customizing other
* Drupal templates such as page.html.twig or node.html.twig.
*
* Instead of overriding the theming for all fields, you can also just override
* theming for a subset of fields using
* @link themeable Theme hook suggestions. @endlink For example,
* here are some theme hook suggestions that can be used for a field_foo field
* on an article node type:
* - field--node--field-foo--article.html.twig
* - field--node--field-foo.html.twig
* - field--node--article.html.twig
* - field--field-foo.html.twig
* - field--text-with-summary.html.twig
* - field.html.twig
*
* Available variables:
* - attributes: HTML attributes for the containing element.
* - label_hidden: Whether to show the field label or not.
* - title_attributes: HTML attributes for the title.
* - label: The label for the field.
* - multiple: TRUE if a field can contain multiple items.
* - items: List of all the field items. Each item contains:
* - attributes: List of HTML attributes for each item.
* - content: The field item's content.
* - entity_type: The entity type to which the field belongs.
* - field_name: The name of the field.
* - field_type: The type of the field.
* - label_display: The display settings for the label.
*
* @see template_preprocess_field()
*/
#}
{% include \"@organisms/board/board-container.twig\" %}
", "themes/contrib/emulsify/templates/board/field--board--board-item.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/board/field--board--board-item.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 40];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_a5a2d1b11d06e1927024fa17a51d7c4abf4019fd050451629d1bd6dcdca1f4c2', 'themes/contrib/emulsify/templates/board/field--board--board-item.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/contrib/emulsify/templates/board/field--board--board-item.html.twig') (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/board/field--board--board-item.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 47)
__TwigTemplate_b748fef97a52a78056e78bd1155059923609d0119f51a59c00075747e180639e->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 35)
__TwigTemplate_e87c942e6c594a12eb550e5f12f4e8893855df8004f8107051b4f6b795f63daf->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/board/board.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('board', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_board-container.twig_BTb_7t4kvV2r_761VeltqBS7p', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @organisms/board/board-container.twig */
class __TwigTemplate_f265cf87ede4659eeba6eb2f51609f7186ab9c37ef1c4459f471305206297f2e extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 39
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "container", [], "board"]));
echo ">
";
// line 43
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 44
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 46
echo "
";
}
public function getTemplateName()
{
return "@organisms/board/board-container.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 54 => 46, 45 => 44, 41 => 43, 35 => 40, 32 => 39,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for a field.
*
* To override output, copy the \"field.html.twig\" from the templates directory
* to your theme's directory and customize it, just like customizing other
* Drupal templates such as page.html.twig or node.html.twig.
*
* Instead of overriding the theming for all fields, you can also just override
* theming for a subset of fields using
* @link themeable Theme hook suggestions. @endlink For example,
* here are some theme hook suggestions that can be used for a field_foo field
* on an article node type:
* - field--node--field-foo--article.html.twig
* - field--node--field-foo.html.twig
* - field--node--article.html.twig
* - field--field-foo.html.twig
* - field--text-with-summary.html.twig
* - field.html.twig
*
* Available variables:
* - attributes: HTML attributes for the containing element.
* - label_hidden: Whether to show the field label or not.
* - title_attributes: HTML attributes for the title.
* - label: The label for the field.
* - multiple: TRUE if a field can contain multiple items.
* - items: List of all the field items. Each item contains:
* - attributes: List of HTML attributes for each item.
* - content: The field item's content.
* - entity_type: The entity type to which the field belongs.
* - field_name: The name of the field.
* - field_type: The type of the field.
* - label_display: The display settings for the label.
*
* @see template_preprocess_field()
*/
#}
{% for item in items %}
{{ item.content }}
{% endfor %}
", "@organisms/board/board-container.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/03-organisms/board/board-container.twig");
}
public function checkSecurity()
{
static $tags = ["for" => 43];
static $filters = [];
static $functions = ["bem" => 40];
try {
$this->sandbox->checkSecurity(
['for'],
[],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_board-container.twig_BTb_7t4kvV2r_761VeltqBS7p', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @organisms/board/board-container.twig */
class __TwigTemplate_f265cf87ede4659eeba6eb2f51609f7186ab9c37ef1c4459f471305206297f2e extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 39
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "container", [], "board"]));
echo ">
";
// line 43
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 44
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 46
echo "
";
}
public function getTemplateName()
{
return "@organisms/board/board-container.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 54 => 46, 45 => 44, 41 => 43, 35 => 40, 32 => 39,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for a field.
*
* To override output, copy the \"field.html.twig\" from the templates directory
* to your theme's directory and customize it, just like customizing other
* Drupal templates such as page.html.twig or node.html.twig.
*
* Instead of overriding the theming for all fields, you can also just override
* theming for a subset of fields using
* @link themeable Theme hook suggestions. @endlink For example,
* here are some theme hook suggestions that can be used for a field_foo field
* on an article node type:
* - field--node--field-foo--article.html.twig
* - field--node--field-foo.html.twig
* - field--node--article.html.twig
* - field--field-foo.html.twig
* - field--text-with-summary.html.twig
* - field.html.twig
*
* Available variables:
* - attributes: HTML attributes for the containing element.
* - label_hidden: Whether to show the field label or not.
* - title_attributes: HTML attributes for the title.
* - label: The label for the field.
* - multiple: TRUE if a field can contain multiple items.
* - items: List of all the field items. Each item contains:
* - attributes: List of HTML attributes for each item.
* - content: The field item's content.
* - entity_type: The entity type to which the field belongs.
* - field_name: The name of the field.
* - field_type: The type of the field.
* - label_display: The display settings for the label.
*
* @see template_preprocess_field()
*/
#}
{% for item in items %}
{{ item.content }}
{% endfor %}
", "@organisms/board/board-container.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/03-organisms/board/board-container.twig");
}
public function checkSecurity()
{
static $tags = ["for" => 43];
static $filters = [];
static $functions = ["bem" => 40];
try {
$this->sandbox->checkSecurity(
['for'],
[],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_f265cf87ede4659eeba6eb2f51609f7186ab9c37ef1c4459f471305206297f2e', '@organisms/board/board-container.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('@organisms/board/board-container.twig', NULL) (Line: 375)
Twig\Template->loadTemplate('@organisms/board/board-container.twig', 'themes/contrib/emulsify/templates/board/field--board--board-item.html.twig', 40) (Line: 35)
__TwigTemplate_a5a2d1b11d06e1927024fa17a51d7c4abf4019fd050451629d1bd6dcdca1f4c2->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/board/field--board--board-item.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 47)
__TwigTemplate_b748fef97a52a78056e78bd1155059923609d0119f51a59c00075747e180639e->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 35)
__TwigTemplate_e87c942e6c594a12eb550e5f12f4e8893855df8004f8107051b4f6b795f63daf->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/board/board.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('board', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_board-item--grid.html.twi_U_k2ntp_Wla8iSbMwZHWcxgSY', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/board/board-item--grid.html.twig */
class __TwigTemplate_d64da10143a1248d24e68a3a4b6e3922fcefb0db5d518a1981ed28841d681474 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 18
$this->loadTemplate("@organisms/board/board-item--grid.twig", "themes/contrib/emulsify/templates/board/board-item--grid.html.twig", 18)->display($context);
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/board/board-item--grid.html.twig";
}
public function getDebugInfo()
{
return array ( 32 => 18,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file board.html.twig
* Default theme implementation to present Board data.
*
* This template is used when viewing Board pages.
*
*
* Available variables:
* - content: A list of content items. Use 'content' to print all content, or
* - attributes: HTML attributes for the container element.
*
* @see template_preprocess_board()
*
* @ingroup themeable
*/
#}
{% include \"@organisms/board/board-item--grid.twig\" %}
", "themes/contrib/emulsify/templates/board/board-item--grid.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/board/board-item--grid.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 18];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_board-item--grid.html.twi_U_k2ntp_Wla8iSbMwZHWcxgSY', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/board/board-item--grid.html.twig */
class __TwigTemplate_d64da10143a1248d24e68a3a4b6e3922fcefb0db5d518a1981ed28841d681474 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 18
$this->loadTemplate("@organisms/board/board-item--grid.twig", "themes/contrib/emulsify/templates/board/board-item--grid.html.twig", 18)->display($context);
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/board/board-item--grid.html.twig";
}
public function getDebugInfo()
{
return array ( 32 => 18,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file board.html.twig
* Default theme implementation to present Board data.
*
* This template is used when viewing Board pages.
*
*
* Available variables:
* - content: A list of content items. Use 'content' to print all content, or
* - attributes: HTML attributes for the container element.
*
* @see template_preprocess_board()
*
* @ingroup themeable
*/
#}
{% include \"@organisms/board/board-item--grid.twig\" %}
", "themes/contrib/emulsify/templates/board/board-item--grid.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/board/board-item--grid.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 18];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_d64da10143a1248d24e68a3a4b6e3922fcefb0db5d518a1981ed28841d681474', 'themes/contrib/emulsify/templates/board/board-item--grid.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/contrib/emulsify/templates/board/board-item--grid.html.twig') (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/board/board-item--grid.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('board_item', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 46)
__TwigTemplate_f265cf87ede4659eeba6eb2f51609f7186ab9c37ef1c4459f471305206297f2e->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 35)
__TwigTemplate_a5a2d1b11d06e1927024fa17a51d7c4abf4019fd050451629d1bd6dcdca1f4c2->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/board/field--board--board-item.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 47)
__TwigTemplate_b748fef97a52a78056e78bd1155059923609d0119f51a59c00075747e180639e->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 35)
__TwigTemplate_e87c942e6c594a12eb550e5f12f4e8893855df8004f8107051b4f6b795f63daf->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/board/board.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('board', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_board-item--grid.twig_zlMbINi86Jy-85BKIzMPo1uYN', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @organisms/board/board-item--grid.twig */
class __TwigTemplate_46af17582d2abb280562abb6ae1c56aba7311478303570bea540421e1660fb09 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 18
echo "
";
// line 19
if (($context["content"] ?? null)) {
// line 20
echo " ";
$context["items"] = ($context["action_links"] ?? null);
// line 21
echo " ";
// line 22
$context["isProduct"] = (twig_length_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["dataUrl"] ?? null))) > 0);
// line 23
echo " ";
if (($context["isProduct"] ?? null)) {
// line 24
echo " ";
$context["items"] = twig_array_merge($this->sandbox->ensureToStringAllowed(($context["items"] ?? null)), [0 => ["url" => // line 25
($context["dataUrl"] ?? null), "title" => "info", "link_include_classes" => [0 => "product__quick-view", 1 => "use-ajax"], "link_attributes" => ["data-url" => // line 29
($context["dataUrl"] ?? null)]]]);
// line 32
echo " ";
}
// line 33
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "item", [0 => "grid"], "board"]));
echo ">
";
// line 35
$this->loadTemplate("@molecules/menus/_menu.twig", "@organisms/board/board-item--grid.twig", 35)->display(twig_array_merge($context, ["menu_blockname" => "board-item", "menu_class" => "menu", "icon_menu" => true, "items" => // line 39
($context["items"] ?? null)]));
// line 41
echo "
";
}
}
public function getTemplateName()
{
return "@organisms/board/board-item--grid.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 65 => 41, 63 => 39, 62 => 35, 58 => 34, 55 => 33, 52 => 32, 50 => 29, 49 => 25, 47 => 24, 44 => 23, 42 => 22, 40 => 21, 37 => 20, 35 => 19, 32 => 18,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file board_item.html.twig
* Default theme implementation to present Board item data.
*
* This template is used when viewing Board item pages.
*
*
* Available variables:
* - content: A list of content items. Use 'content' to print all content, or
* - attributes: HTML attributes for the container element.
*
* @see template_preprocess_board_item()
*
* @ingroup themeable
*/
#}
{% if content %}
{% set items = action_links %}
{# If this is a product, then add the quick view link. #}
{% set isProduct = dataUrl|length > 0 %}
{% if isProduct %}
{% set items = items|merge([{
url: dataUrl,
title: 'info',
link_include_classes: [\"product__quick-view\", \"use-ajax\"],
link_attributes: {
\"data-url\": dataUrl
}
}]) %}
{% endif %}
{% include \"@molecules/menus/_menu.twig\" with {
menu_blockname: 'board-item',
menu_class: 'menu',
icon_menu: true,
items: items
} %}
{% endif %}
", "@organisms/board/board-item--grid.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/03-organisms/board/board-item--grid.twig");
}
public function checkSecurity()
{
static $tags = ["if" => 19, "set" => 20, "include" => 35];
static $filters = ["length" => 22, "merge" => 24];
static $functions = ["bem" => 34];
try {
$this->sandbox->checkSecurity(
['if', 'set', 'include'],
['length', 'merge'],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_board-item--grid.twig_zlMbINi86Jy-85BKIzMPo1uYN', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @organisms/board/board-item--grid.twig */
class __TwigTemplate_46af17582d2abb280562abb6ae1c56aba7311478303570bea540421e1660fb09 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 18
echo "
";
// line 19
if (($context["content"] ?? null)) {
// line 20
echo " ";
$context["items"] = ($context["action_links"] ?? null);
// line 21
echo " ";
// line 22
$context["isProduct"] = (twig_length_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["dataUrl"] ?? null))) > 0);
// line 23
echo " ";
if (($context["isProduct"] ?? null)) {
// line 24
echo " ";
$context["items"] = twig_array_merge($this->sandbox->ensureToStringAllowed(($context["items"] ?? null)), [0 => ["url" => // line 25
($context["dataUrl"] ?? null), "title" => "info", "link_include_classes" => [0 => "product__quick-view", 1 => "use-ajax"], "link_attributes" => ["data-url" => // line 29
($context["dataUrl"] ?? null)]]]);
// line 32
echo " ";
}
// line 33
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "item", [0 => "grid"], "board"]));
echo ">
";
// line 35
$this->loadTemplate("@molecules/menus/_menu.twig", "@organisms/board/board-item--grid.twig", 35)->display(twig_array_merge($context, ["menu_blockname" => "board-item", "menu_class" => "menu", "icon_menu" => true, "items" => // line 39
($context["items"] ?? null)]));
// line 41
echo "
";
}
}
public function getTemplateName()
{
return "@organisms/board/board-item--grid.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 65 => 41, 63 => 39, 62 => 35, 58 => 34, 55 => 33, 52 => 32, 50 => 29, 49 => 25, 47 => 24, 44 => 23, 42 => 22, 40 => 21, 37 => 20, 35 => 19, 32 => 18,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file board_item.html.twig
* Default theme implementation to present Board item data.
*
* This template is used when viewing Board item pages.
*
*
* Available variables:
* - content: A list of content items. Use 'content' to print all content, or
* - attributes: HTML attributes for the container element.
*
* @see template_preprocess_board_item()
*
* @ingroup themeable
*/
#}
{% if content %}
{% set items = action_links %}
{# If this is a product, then add the quick view link. #}
{% set isProduct = dataUrl|length > 0 %}
{% if isProduct %}
{% set items = items|merge([{
url: dataUrl,
title: 'info',
link_include_classes: [\"product__quick-view\", \"use-ajax\"],
link_attributes: {
\"data-url\": dataUrl
}
}]) %}
{% endif %}
{% include \"@molecules/menus/_menu.twig\" with {
menu_blockname: 'board-item',
menu_class: 'menu',
icon_menu: true,
items: items
} %}
{% endif %}
", "@organisms/board/board-item--grid.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/03-organisms/board/board-item--grid.twig");
}
public function checkSecurity()
{
static $tags = ["if" => 19, "set" => 20, "include" => 35];
static $filters = ["length" => 22, "merge" => 24];
static $functions = ["bem" => 34];
try {
$this->sandbox->checkSecurity(
['if', 'set', 'include'],
['length', 'merge'],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_46af17582d2abb280562abb6ae1c56aba7311478303570bea540421e1660fb09', '@organisms/board/board-item--grid.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('@organisms/board/board-item--grid.twig', NULL) (Line: 375)
Twig\Template->loadTemplate('@organisms/board/board-item--grid.twig', 'themes/contrib/emulsify/templates/board/board-item--grid.html.twig', 18) (Line: 32)
__TwigTemplate_d64da10143a1248d24e68a3a4b6e3922fcefb0db5d518a1981ed28841d681474->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/board/board-item--grid.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('board_item', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 46)
__TwigTemplate_f265cf87ede4659eeba6eb2f51609f7186ab9c37ef1c4459f471305206297f2e->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 35)
__TwigTemplate_a5a2d1b11d06e1927024fa17a51d7c4abf4019fd050451629d1bd6dcdca1f4c2->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/board/field--board--board-item.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 47)
__TwigTemplate_b748fef97a52a78056e78bd1155059923609d0119f51a59c00075747e180639e->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 35)
__TwigTemplate_e87c942e6c594a12eb550e5f12f4e8893855df8004f8107051b4f6b795f63daf->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/board/board.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('board', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_html.html.twig_QQ0p1Hpfy6uxjk6tDvehWmomE', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/layout/html.html.twig */
class __TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 26
$this->loadTemplate("@pages/_html.twig", "themes/contrib/emulsify/templates/layout/html.html.twig", 26)->display($context);
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/layout/html.html.twig";
}
public function getDebugInfo()
{
return array ( 32 => 26,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for the basic structure of a single Drupal page.
*
* Variables:
* - logged_in: A flag indicating if user is logged in.
* - root_path: The root path of the current page (e.g., node, admin, user).
* - node_type: The content type for the current node, if the page is a node.
* - head_title: List of text elements that make up the head_title variable.
* May contain or more of the following:
* - title: The title of the page.
* - name: The name of the site.
* - slogan: The slogan of the site.
* - page_top: Initial rendered markup. This should be printed before 'page'.
* - page: The rendered page markup.
* - page_bottom: Closing rendered markup. This variable should be printed after
* 'page'.
* - db_offline: A flag indicating if the database is offline.
* - placeholder_token: The token for generating head, css, js and js-bottom
* placeholders.
*
* @see template_preprocess_html()
*/
#}
{% include \"@pages/_html.twig\" %}
", "themes/contrib/emulsify/templates/layout/html.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/layout/html.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 26];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_html.html.twig_QQ0p1Hpfy6uxjk6tDvehWmomE', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/layout/html.html.twig */
class __TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 26
$this->loadTemplate("@pages/_html.twig", "themes/contrib/emulsify/templates/layout/html.html.twig", 26)->display($context);
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/layout/html.html.twig";
}
public function getDebugInfo()
{
return array ( 32 => 26,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for the basic structure of a single Drupal page.
*
* Variables:
* - logged_in: A flag indicating if user is logged in.
* - root_path: The root path of the current page (e.g., node, admin, user).
* - node_type: The content type for the current node, if the page is a node.
* - head_title: List of text elements that make up the head_title variable.
* May contain or more of the following:
* - title: The title of the page.
* - name: The name of the site.
* - slogan: The slogan of the site.
* - page_top: Initial rendered markup. This should be printed before 'page'.
* - page: The rendered page markup.
* - page_bottom: Closing rendered markup. This variable should be printed after
* 'page'.
* - db_offline: A flag indicating if the database is offline.
* - placeholder_token: The token for generating head, css, js and js-bottom
* placeholders.
*
* @see template_preprocess_html()
*/
#}
{% include \"@pages/_html.twig\" %}
", "themes/contrib/emulsify/templates/layout/html.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/layout/html.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 26];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056', 'themes/contrib/emulsify/templates/layout/html.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/contrib/emulsify/templates/layout/html.html.twig') (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f__html.twig_rIAgSEa4i8a01tAR60XJoHojY', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @pages/_html.twig */
class __TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 26
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["html_attributes"] ?? null)), "html", null, true);
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null)));
echo "\">
";
// line 30
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->env->getExtension('Drupal\Core\Template\TwigExtension')->safeJoin($this->env, $this->sandbox->ensureToStringAllowed(($context["head_title"] ?? null)), " | "));
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null)));
echo "\">
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null)));
echo "\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null)), "html", null, true);
echo ">
<a>
";
// line 37
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Skip to main content"));
echo "
</a>
";
// line 39
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["page_top"] ?? null)), "html", null, true);
echo "
";
// line 40
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["page"] ?? null)), "html", null, true);
echo "
";
// line 41
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["page_bottom"] ?? null)), "html", null, true);
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null)));
echo "\">
";
}
public function getTemplateName()
{
return "@pages/_html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 80 => 42, 76 => 41, 72 => 40, 68 => 39, 63 => 37, 58 => 35, 52 => 32, 48 => 31, 44 => 30, 40 => 29, 35 => 27, 32 => 26,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for the basic structure of a single Drupal page.
*
* Variables:
* - logged_in: A flag indicating if user is logged in.
* - root_path: The root path of the current page (e.g., node, admin, user).
* - node_type: The content type for the current node, if the page is a node.
* - head_title: List of text elements that make up the head_title variable.
* May contain or more of the following:
* - title: The title of the page.
* - name: The name of the site.
* - slogan: The slogan of the site.
* - page_top: Initial rendered markup. This should be printed before 'page'.
* - page: The rendered page markup.
* - page_bottom: Closing rendered markup. This variable should be printed after
* 'page'.
* - db_offline: A flag indicating if the database is offline.
* - placeholder_token: The token for generating head, css, js and js-bottom
* placeholders.
*
* @see template_preprocess_html()
*/
#}
{{ head_title|safe_join(' | ') }}
<a>
{{ 'Skip to main content'|t }}
</a>
{{ page_top }}
{{ page }}
{{ page_bottom }}
", "@pages/_html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/05-pages/_html.twig");
}
public function checkSecurity()
{
static $tags = [];
static $filters = ["raw" => 29, "safe_join" => 30, "t" => 37];
static $functions = [];
try {
$this->sandbox->checkSecurity(
[],
['raw', 'safe_join', 't'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f__html.twig_rIAgSEa4i8a01tAR60XJoHojY', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @pages/_html.twig */
class __TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 26
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["html_attributes"] ?? null)), "html", null, true);
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null)));
echo "\">
";
// line 30
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->env->getExtension('Drupal\Core\Template\TwigExtension')->safeJoin($this->env, $this->sandbox->ensureToStringAllowed(($context["head_title"] ?? null)), " | "));
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null)));
echo "\">
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null)));
echo "\">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null)), "html", null, true);
echo ">
<a>
";
// line 37
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(t("Skip to main content"));
echo "
</a>
";
// line 39
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["page_top"] ?? null)), "html", null, true);
echo "
";
// line 40
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["page"] ?? null)), "html", null, true);
echo "
";
// line 41
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["page_bottom"] ?? null)), "html", null, true);
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar($this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null)));
echo "\">
";
}
public function getTemplateName()
{
return "@pages/_html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 80 => 42, 76 => 41, 72 => 40, 68 => 39, 63 => 37, 58 => 35, 52 => 32, 48 => 31, 44 => 30, 40 => 29, 35 => 27, 32 => 26,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for the basic structure of a single Drupal page.
*
* Variables:
* - logged_in: A flag indicating if user is logged in.
* - root_path: The root path of the current page (e.g., node, admin, user).
* - node_type: The content type for the current node, if the page is a node.
* - head_title: List of text elements that make up the head_title variable.
* May contain or more of the following:
* - title: The title of the page.
* - name: The name of the site.
* - slogan: The slogan of the site.
* - page_top: Initial rendered markup. This should be printed before 'page'.
* - page: The rendered page markup.
* - page_bottom: Closing rendered markup. This variable should be printed after
* 'page'.
* - db_offline: A flag indicating if the database is offline.
* - placeholder_token: The token for generating head, css, js and js-bottom
* placeholders.
*
* @see template_preprocess_html()
*/
#}
{{ head_title|safe_join(' | ') }}
<a>
{{ 'Skip to main content'|t }}
</a>
{{ page_top }}
{{ page }}
{{ page_bottom }}
", "@pages/_html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/05-pages/_html.twig");
}
public function checkSecurity()
{
static $tags = [];
static $filters = ["raw" => 29, "safe_join" => 30, "t" => 37];
static $functions = [];
try {
$this->sandbox->checkSecurity(
[],
['raw', 'safe_join', 't'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3', '@pages/_html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('@pages/_html.twig', NULL) (Line: 375)
Twig\Template->loadTemplate('@pages/_html.twig', 'themes/contrib/emulsify/templates/layout/html.html.twig', 26) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_page.html.twig_eEhpC3SeweuMXcZRX_W2IiE8F', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/layout/page.html.twig */
class __TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 46
$this->loadTemplate("@pages/_page.twig", "themes/contrib/emulsify/templates/layout/page.html.twig", 46)->display($context);
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/layout/page.html.twig";
}
public function getDebugInfo()
{
return array ( 32 => 46,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override to display a single page.
*
* The doctype, html, head and body tags are not in this template. Instead they
* can be found in the html.html.twig template in this directory.
*
* Available variables:
*
* General utility variables:
* - base_path: The base URL path of the Drupal installation. Will usually be
* \"/\" unless you have installed Drupal in a sub-directory.
* - is_front: A flag indicating if the current page is the front page.
* - logged_in: A flag indicating if the user is registered and signed in.
* - is_admin: A flag indicating if the user has permission to access
* administration pages.
*
* Site identity:
* - front_page: The URL of the front page. Use this instead of base_path when
* linking to the front page. This includes the language domain or prefix.
*
* Page content (in order of occurrence in the default page.html.twig):
* - messages: Status and error messages. Should be displayed prominently.
* - node: Fully loaded node, if there is an automatically-loaded node
* associated with the page and the node ID is the second argument in the
* page's path (e.g. node/12345 and node/12345/revisions, but not
* comment/reply/12345).
*
* Regions:
* - page.header: Items for the header region.
* - page.primary_menu: Items for the primary menu region.
* - page.secondary_menu: Items for the secondary menu region.
* - page.highlighted: Items for the highlighted content region.
* - page.help: Dynamic help text, mostly for admin pages.
* - page.content: The main content of the current page.
* - page.sidebar_first: Items for the first sidebar.
* - page.sidebar_second: Items for the second sidebar.
* - page.footer: Items for the footer region.
* - page.breadcrumb: Items for the breadcrumb region.
*
* @see template_preprocess_page()
* @see html.html.twig
*/
#}
{% include \"@pages/_page.twig\" %}
", "themes/contrib/emulsify/templates/layout/page.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/layout/page.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 46];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_page.html.twig_eEhpC3SeweuMXcZRX_W2IiE8F', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/layout/page.html.twig */
class __TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 46
$this->loadTemplate("@pages/_page.twig", "themes/contrib/emulsify/templates/layout/page.html.twig", 46)->display($context);
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/layout/page.html.twig";
}
public function getDebugInfo()
{
return array ( 32 => 46,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override to display a single page.
*
* The doctype, html, head and body tags are not in this template. Instead they
* can be found in the html.html.twig template in this directory.
*
* Available variables:
*
* General utility variables:
* - base_path: The base URL path of the Drupal installation. Will usually be
* \"/\" unless you have installed Drupal in a sub-directory.
* - is_front: A flag indicating if the current page is the front page.
* - logged_in: A flag indicating if the user is registered and signed in.
* - is_admin: A flag indicating if the user has permission to access
* administration pages.
*
* Site identity:
* - front_page: The URL of the front page. Use this instead of base_path when
* linking to the front page. This includes the language domain or prefix.
*
* Page content (in order of occurrence in the default page.html.twig):
* - messages: Status and error messages. Should be displayed prominently.
* - node: Fully loaded node, if there is an automatically-loaded node
* associated with the page and the node ID is the second argument in the
* page's path (e.g. node/12345 and node/12345/revisions, but not
* comment/reply/12345).
*
* Regions:
* - page.header: Items for the header region.
* - page.primary_menu: Items for the primary menu region.
* - page.secondary_menu: Items for the secondary menu region.
* - page.highlighted: Items for the highlighted content region.
* - page.help: Dynamic help text, mostly for admin pages.
* - page.content: The main content of the current page.
* - page.sidebar_first: Items for the first sidebar.
* - page.sidebar_second: Items for the second sidebar.
* - page.footer: Items for the footer region.
* - page.breadcrumb: Items for the breadcrumb region.
*
* @see template_preprocess_page()
* @see html.html.twig
*/
#}
{% include \"@pages/_page.twig\" %}
", "themes/contrib/emulsify/templates/layout/page.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/layout/page.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 46];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d', 'themes/contrib/emulsify/templates/layout/page.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/contrib/emulsify/templates/layout/page.html.twig') (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f__page.twig_Vq2lncJBsW7PyzvflM-LewFuW', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @pages/_page.twig */
class __TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 46
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "layout-container"]));
echo ">
";
// line 48
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "banner", [])), "html", null, true);
echo "
";
// line 49
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "header", [])), "html", null, true);
echo "
";
// line 51
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "hero", [])), "html", null, true);
echo "
";
// line 53
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "breadcrumb", [])), "html", null, true);
echo "
";
// line 55
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "highlighted", [])), "html", null, true);
echo "
";
// line 57
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "help", [])), "html", null, true);
echo "
";
// line 59
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["messages"] ?? null)), "html", null, true);
echo "
";
// line 61
$this->loadTemplate("@molecules/chat/chat.twig", "@pages/_page.twig", 61)->display($context);
// line 62
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "main", [0 => ($context["page_modifiers"] ?? null)]]));
echo ">
<a></a>";
// line 65
echo "
";
// line 66
if ($this->getAttribute(($context["page"] ?? null), "sidebar", [])) {
// line 67
echo "
";
// line 68
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "sidebar", [])), "html", null, true);
echo "
";
}
// line 71
echo "
getAttribute(($context["page"] ?? null), "sidebar", [])) {
echo "--with-sidebar";
}
echo "\">
";
// line 74
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "content", [])), "html", null, true);
echo "
";
// line 76
echo "
";
// line 79
if ($this->getAttribute(($context["page"] ?? null), "footer", [])) {
// line 80
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "footer", [])), "html", null, true);
echo "
";
}
// line 82
echo "
";
// line 84
$this->loadTemplate("@organisms/modal/modal.twig", "@pages/_page.twig", 84)->display($context);
// line 85
echo "";
}
public function getTemplateName()
{
return "@pages/_page.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 128 => 85, 126 => 84, 122 => 82, 116 => 80, 114 => 79, 109 => 76, 105 => 74, 99 => 73, 95 => 71, 89 => 68, 86 => 67, 84 => 66, 81 => 65, 77 => 63, 74 => 62, 72 => 61, 67 => 59, 62 => 57, 57 => 55, 52 => 53, 47 => 51, 42 => 49, 38 => 48, 32 => 46,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override to display a single page.
*
* The doctype, html, head and body tags are not in this template. Instead they
* can be found in the html.html.twig template in this directory.
*
* Available variables:
*
* General utility variables:
* - base_path: The base URL path of the Drupal installation. Will usually be
* \"/\" unless you have installed Drupal in a sub-directory.
* - is_front: A flag indicating if the current page is the front page.
* - logged_in: A flag indicating if the user is registered and signed in.
* - is_admin: A flag indicating if the user has permission to access
* administration pages.
*
* Site identity:
* - front_page: The URL of the front page. Use this instead of base_path when
* linking to the front page. This includes the language domain or prefix.
*
* Page content (in order of occurrence in the default page.html.twig):
* - messages: Status and error messages. Should be displayed prominently.
* - node: Fully loaded node, if there is an automatically-loaded node
* associated with the page and the node ID is the second argument in the
* page's path (e.g. node/12345 and node/12345/revisions, but not
* comment/reply/12345).
*
* Regions:
* - page.header: Items for the header region.
* - page.primary_menu: Items for the primary menu region.
* - page.secondary_menu: Items for the secondary menu region.
* - page.highlighted: Items for the highlighted content region.
* - page.help: Dynamic help text, mostly for admin pages.
* - page.content: The main content of the current page.
* - page.sidebar_first: Items for the first sidebar.
* - page.sidebar_second: Items for the second sidebar.
* - page.footer: Items for the footer region.
* - page.breadcrumb: Items for the breadcrumb region.
*
* @see template_preprocess_page()
* @see html.html.twig
*/
#}
{{ page.banner }}
{{ page.header }}
{{ page.hero }}
{{ page.breadcrumb }}
{{ page.highlighted }}
{{ page.help }}
{{ messages }}
{% include \"@molecules/chat/chat.twig\" %}
<a></a>{# link is in html.html.twig #}
{% if page.sidebar %}
{{ page.sidebar }}
{% endif %}
{{ page.content }}
{# /.layout-content #}
{% if page.footer %}
{{ page.footer }}
{% endif %}
{% include \"@organisms/modal/modal.twig\" %}
{# /.layout-container #}
", "@pages/_page.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/05-pages/_page.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 61, "if" => 66];
static $filters = [];
static $functions = ["bem" => 46];
try {
$this->sandbox->checkSecurity(
['include', 'if'],
[],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f__page.twig_Vq2lncJBsW7PyzvflM-LewFuW', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @pages/_page.twig */
class __TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 46
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "layout-container"]));
echo ">
";
// line 48
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "banner", [])), "html", null, true);
echo "
";
// line 49
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "header", [])), "html", null, true);
echo "
";
// line 51
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "hero", [])), "html", null, true);
echo "
";
// line 53
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "breadcrumb", [])), "html", null, true);
echo "
";
// line 55
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "highlighted", [])), "html", null, true);
echo "
";
// line 57
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "help", [])), "html", null, true);
echo "
";
// line 59
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["messages"] ?? null)), "html", null, true);
echo "
";
// line 61
$this->loadTemplate("@molecules/chat/chat.twig", "@pages/_page.twig", 61)->display($context);
// line 62
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "main", [0 => ($context["page_modifiers"] ?? null)]]));
echo ">
<a></a>";
// line 65
echo "
";
// line 66
if ($this->getAttribute(($context["page"] ?? null), "sidebar", [])) {
// line 67
echo "
";
// line 68
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "sidebar", [])), "html", null, true);
echo "
";
}
// line 71
echo "
getAttribute(($context["page"] ?? null), "sidebar", [])) {
echo "--with-sidebar";
}
echo "\">
";
// line 74
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "content", [])), "html", null, true);
echo "
";
// line 76
echo "
";
// line 79
if ($this->getAttribute(($context["page"] ?? null), "footer", [])) {
// line 80
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["page"] ?? null), "footer", [])), "html", null, true);
echo "
";
}
// line 82
echo "
";
// line 84
$this->loadTemplate("@organisms/modal/modal.twig", "@pages/_page.twig", 84)->display($context);
// line 85
echo "";
}
public function getTemplateName()
{
return "@pages/_page.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 128 => 85, 126 => 84, 122 => 82, 116 => 80, 114 => 79, 109 => 76, 105 => 74, 99 => 73, 95 => 71, 89 => 68, 86 => 67, 84 => 66, 81 => 65, 77 => 63, 74 => 62, 72 => 61, 67 => 59, 62 => 57, 57 => 55, 52 => 53, 47 => 51, 42 => 49, 38 => 48, 32 => 46,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override to display a single page.
*
* The doctype, html, head and body tags are not in this template. Instead they
* can be found in the html.html.twig template in this directory.
*
* Available variables:
*
* General utility variables:
* - base_path: The base URL path of the Drupal installation. Will usually be
* \"/\" unless you have installed Drupal in a sub-directory.
* - is_front: A flag indicating if the current page is the front page.
* - logged_in: A flag indicating if the user is registered and signed in.
* - is_admin: A flag indicating if the user has permission to access
* administration pages.
*
* Site identity:
* - front_page: The URL of the front page. Use this instead of base_path when
* linking to the front page. This includes the language domain or prefix.
*
* Page content (in order of occurrence in the default page.html.twig):
* - messages: Status and error messages. Should be displayed prominently.
* - node: Fully loaded node, if there is an automatically-loaded node
* associated with the page and the node ID is the second argument in the
* page's path (e.g. node/12345 and node/12345/revisions, but not
* comment/reply/12345).
*
* Regions:
* - page.header: Items for the header region.
* - page.primary_menu: Items for the primary menu region.
* - page.secondary_menu: Items for the secondary menu region.
* - page.highlighted: Items for the highlighted content region.
* - page.help: Dynamic help text, mostly for admin pages.
* - page.content: The main content of the current page.
* - page.sidebar_first: Items for the first sidebar.
* - page.sidebar_second: Items for the second sidebar.
* - page.footer: Items for the footer region.
* - page.breadcrumb: Items for the breadcrumb region.
*
* @see template_preprocess_page()
* @see html.html.twig
*/
#}
{{ page.banner }}
{{ page.header }}
{{ page.hero }}
{{ page.breadcrumb }}
{{ page.highlighted }}
{{ page.help }}
{{ messages }}
{% include \"@molecules/chat/chat.twig\" %}
<a></a>{# link is in html.html.twig #}
{% if page.sidebar %}
{{ page.sidebar }}
{% endif %}
{{ page.content }}
{# /.layout-content #}
{% if page.footer %}
{{ page.footer }}
{% endif %}
{% include \"@organisms/modal/modal.twig\" %}
{# /.layout-container #}
", "@pages/_page.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/05-pages/_page.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 61, "if" => 66];
static $filters = [];
static $functions = ["bem" => 46];
try {
$this->sandbox->checkSecurity(
['include', 'if'],
[],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592', '@pages/_page.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('@pages/_page.twig', NULL) (Line: 375)
Twig\Template->loadTemplate('@pages/_page.twig', 'themes/contrib/emulsify/templates/layout/page.html.twig', 46) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_block--system-menu-block._jho_eYmuybZyXSeGfw_vg65sM', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* core/themes/stable/templates/block/block--system-menu-block.html.twig */
class __TwigTemplate_26746b546d2a6a639efffa35c97c47e20419bae59ee6802208974db9fa4f3d5e extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
'content' => [$this, 'block_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 34
$context["heading_id"] = ($this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "id", [])) . \Drupal\Component\Utility\Html::getId("-menu"));
// line 35
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["heading_id"] ?? null)), "html", null, true);
echo "\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_without($this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null)), "role", "aria-labelledby"), "html", null, true);
echo ">
";
// line 37
echo " ";
if ( !$this->getAttribute(($context["configuration"] ?? null), "label_display", [])) {
// line 38
echo " ";
$context["title_attributes"] = $this->getAttribute(($context["title_attributes"] ?? null), "addClass", [0 => "visually-hidden"], "method");
// line 39
echo " ";
}
// line 40
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_prefix"] ?? null)), "html", null, true);
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["title_attributes"] ?? null), "setAttribute", [0 => "id", 1 => ($context["heading_id"] ?? null)], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["configuration"] ?? null), "label", [])), "html", null, true);
echo "
";
// line 42
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_suffix"] ?? null)), "html", null, true);
echo "
";
// line 45
echo " ";
$this->displayBlock('content', $context, $blocks);
// line 48
echo "
";
}
// line 45
public function block_content($context, array $blocks = [])
{
// line 46
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "core/themes/stable/templates/block/block--system-menu-block.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 78 => 46, 75 => 45, 70 => 48, 67 => 45, 62 => 42, 56 => 41, 51 => 40, 48 => 39, 45 => 38, 42 => 37, 35 => 35, 33 => 34,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for a menu block.
*
* Available variables:
* - plugin_id: The ID of the block implementation.
* - label: The configured label of the block if visible.
* - configuration: A list of the block's configuration values.
* - label: The configured label for the block.
* - label_display: The display settings for the label.
* - provider: The module or other provider that provided this block plugin.
* - Block plugin specific settings will also be stored here.
* - content: The content of this block.
* - attributes: HTML attributes for the containing element.
* - id: A valid HTML ID and guaranteed unique.
* - title_attributes: HTML attributes for the title element.
* - content_attributes: HTML attributes for the content element.
* - title_prefix: Additional output populated by modules, intended to be
* displayed in front of the main title tag that appears in the template.
* - title_suffix: Additional output populated by modules, intended to be
* displayed after the main title tag that appears in the template.
*
* Headings should be used on navigation menus that consistently appear on
* multiple pages. When this menu block's label is configured to not be
* displayed, it is automatically made invisible using the 'visually-hidden' CSS
* class, which still keeps it visible for screen-readers and assistive
* technology. Headings allow screen-reader and keyboard only users to navigate
* to or skip the links.
* See http://juicystudio.com/article/screen-readers-display-none.php and
* http://www.w3.org/TR/WCAG-TECHS/H42.html for more information.
*/
#}
{% set heading_id = attributes.id ~ '-menu'|clean_id %}
{# Label. If not displayed, we still provide it for screen readers. #}
{% if not configuration.label_display %}
{% set title_attributes = title_attributes.addClass('visually-hidden') %}
{% endif %}
{{ title_prefix }}
{{ configuration.label }}
{{ title_suffix }}
{# Menu. #}
{% block content %}
{{ content }}
{% endblock %}
", "core/themes/stable/templates/block/block--system-menu-block.html.twig", "/var/www/peak/docroot/core/themes/stable/templates/block/block--system-menu-block.html.twig");
}
public function checkSecurity()
{
static $tags = ["set" => 34, "if" => 37, "block" => 45];
static $filters = ["clean_id" => 34, "without" => 35];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['set', 'if', 'block'],
['clean_id', 'without'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_block--system-menu-block._jho_eYmuybZyXSeGfw_vg65sM', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* core/themes/stable/templates/block/block--system-menu-block.html.twig */
class __TwigTemplate_26746b546d2a6a639efffa35c97c47e20419bae59ee6802208974db9fa4f3d5e extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
'content' => [$this, 'block_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 34
$context["heading_id"] = ($this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "id", [])) . \Drupal\Component\Utility\Html::getId("-menu"));
// line 35
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["heading_id"] ?? null)), "html", null, true);
echo "\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, twig_without($this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null)), "role", "aria-labelledby"), "html", null, true);
echo ">
";
// line 37
echo " ";
if ( !$this->getAttribute(($context["configuration"] ?? null), "label_display", [])) {
// line 38
echo " ";
$context["title_attributes"] = $this->getAttribute(($context["title_attributes"] ?? null), "addClass", [0 => "visually-hidden"], "method");
// line 39
echo " ";
}
// line 40
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_prefix"] ?? null)), "html", null, true);
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["title_attributes"] ?? null), "setAttribute", [0 => "id", 1 => ($context["heading_id"] ?? null)], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["configuration"] ?? null), "label", [])), "html", null, true);
echo "
";
// line 42
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_suffix"] ?? null)), "html", null, true);
echo "
";
// line 45
echo " ";
$this->displayBlock('content', $context, $blocks);
// line 48
echo "
";
}
// line 45
public function block_content($context, array $blocks = [])
{
// line 46
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "core/themes/stable/templates/block/block--system-menu-block.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 78 => 46, 75 => 45, 70 => 48, 67 => 45, 62 => 42, 56 => 41, 51 => 40, 48 => 39, 45 => 38, 42 => 37, 35 => 35, 33 => 34,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for a menu block.
*
* Available variables:
* - plugin_id: The ID of the block implementation.
* - label: The configured label of the block if visible.
* - configuration: A list of the block's configuration values.
* - label: The configured label for the block.
* - label_display: The display settings for the label.
* - provider: The module or other provider that provided this block plugin.
* - Block plugin specific settings will also be stored here.
* - content: The content of this block.
* - attributes: HTML attributes for the containing element.
* - id: A valid HTML ID and guaranteed unique.
* - title_attributes: HTML attributes for the title element.
* - content_attributes: HTML attributes for the content element.
* - title_prefix: Additional output populated by modules, intended to be
* displayed in front of the main title tag that appears in the template.
* - title_suffix: Additional output populated by modules, intended to be
* displayed after the main title tag that appears in the template.
*
* Headings should be used on navigation menus that consistently appear on
* multiple pages. When this menu block's label is configured to not be
* displayed, it is automatically made invisible using the 'visually-hidden' CSS
* class, which still keeps it visible for screen-readers and assistive
* technology. Headings allow screen-reader and keyboard only users to navigate
* to or skip the links.
* See http://juicystudio.com/article/screen-readers-display-none.php and
* http://www.w3.org/TR/WCAG-TECHS/H42.html for more information.
*/
#}
{% set heading_id = attributes.id ~ '-menu'|clean_id %}
{# Label. If not displayed, we still provide it for screen readers. #}
{% if not configuration.label_display %}
{% set title_attributes = title_attributes.addClass('visually-hidden') %}
{% endif %}
{{ title_prefix }}
{{ configuration.label }}
{{ title_suffix }}
{# Menu. #}
{% block content %}
{{ content }}
{% endblock %}
", "core/themes/stable/templates/block/block--system-menu-block.html.twig", "/var/www/peak/docroot/core/themes/stable/templates/block/block--system-menu-block.html.twig");
}
public function checkSecurity()
{
static $tags = ["set" => 34, "if" => 37, "block" => 45];
static $filters = ["clean_id" => 34, "without" => 35];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['set', 'if', 'block'],
['clean_id', 'without'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_26746b546d2a6a639efffa35c97c47e20419bae59ee6802208974db9fa4f3d5e', 'core/themes/stable/templates/block/block--system-menu-block.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('core/themes/stable/templates/block/block--system-menu-block.html.twig') (Line: 64)
twig_render_template('core/themes/stable/templates/block/block--system-menu-block.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 42)
__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_menu--user-action-menu.ht_kwSAv6PprLiIBrzX4SjP761T8', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/navigation/menu--user-action-menu.html.twig */
class __TwigTemplate_935a484b1848bb935adcddcce9b2ea9102f08db267afa5380f9d120538ca65a7 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
$this->loadTemplate("@molecules/menus/_menu.twig", "themes/contrib/emulsify/templates/navigation/menu--user-action-menu.html.twig", 1)->display(twig_array_merge($context, ["menu_blockname" => "user-actions", "icon_menu" => true, "menu_class" => "user-actions-menu"]));
// line 6
echo "
";
// line 8
$this->loadTemplate("@organisms/search/modal/modal.twig", "themes/contrib/emulsify/templates/navigation/menu--user-action-menu.html.twig", 8)->display($context);
// line 9
echo "
";
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/navigation/menu--user-action-menu.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 40 => 9, 38 => 8, 34 => 6, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{% include \"@molecules/menus/_menu.twig\" with {
menu_blockname: 'user-actions',
icon_menu: true,
menu_class: 'user-actions-menu'
} %}
{% include \"@organisms/search/modal/modal.twig\" %}
", "themes/contrib/emulsify/templates/navigation/menu--user-action-menu.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/navigation/menu--user-action-menu.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 1];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_menu--user-action-menu.ht_kwSAv6PprLiIBrzX4SjP761T8', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/navigation/menu--user-action-menu.html.twig */
class __TwigTemplate_935a484b1848bb935adcddcce9b2ea9102f08db267afa5380f9d120538ca65a7 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
$this->loadTemplate("@molecules/menus/_menu.twig", "themes/contrib/emulsify/templates/navigation/menu--user-action-menu.html.twig", 1)->display(twig_array_merge($context, ["menu_blockname" => "user-actions", "icon_menu" => true, "menu_class" => "user-actions-menu"]));
// line 6
echo "
";
// line 8
$this->loadTemplate("@organisms/search/modal/modal.twig", "themes/contrib/emulsify/templates/navigation/menu--user-action-menu.html.twig", 8)->display($context);
// line 9
echo "
";
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/navigation/menu--user-action-menu.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 40 => 9, 38 => 8, 34 => 6, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{% include \"@molecules/menus/_menu.twig\" with {
menu_blockname: 'user-actions',
icon_menu: true,
menu_class: 'user-actions-menu'
} %}
{% include \"@organisms/search/modal/modal.twig\" %}
", "themes/contrib/emulsify/templates/navigation/menu--user-action-menu.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/navigation/menu--user-action-menu.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 1];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_935a484b1848bb935adcddcce9b2ea9102f08db267afa5380f9d120538ca65a7', 'themes/contrib/emulsify/templates/navigation/menu--user-action-menu.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/contrib/emulsify/templates/navigation/menu--user-action-menu.html.twig') (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/navigation/menu--user-action-menu.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('menu__user_action_menu', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 79)
__TwigTemplate_26746b546d2a6a639efffa35c97c47e20419bae59ee6802208974db9fa4f3d5e->block_content(Array, Array) (Line: 214)
Twig\Template->displayBlock('content', Array, Array) (Line: 68)
__TwigTemplate_26746b546d2a6a639efffa35c97c47e20419bae59ee6802208974db9fa4f3d5e->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('core/themes/stable/templates/block/block--system-menu-block.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 42)
__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_modal.twig_b_x7SAuE3-SGxT-E1-NtWSyNk', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @organisms/search/modal/modal.twig */
class __TwigTemplate_bae680d90296995df33c3cda2ff5a86d3f4747b033c3218df3e9422c2a11969c extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "global-search"]));
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "logo", [], "global-search"]));
echo ">
";
// line 3
$this->loadTemplate("@atoms/04-images/icon.twig", "@organisms/search/modal/modal.twig", 3)->display(twig_array_merge($context, ["icon" => "peak-logo", "width" => "100%", "height" => "100%"]));
// line 8
echo "
";
// line 10
$this->loadTemplate("@molecules/search-form/search-form.twig", "@organisms/search/modal/modal.twig", 10)->display($context);
// line 11
echo "
";
}
public function getTemplateName()
{
return "@organisms/search/modal/modal.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 49 => 11, 47 => 10, 43 => 8, 41 => 3, 37 => 2, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("
{% include \"@atoms/04-images/icon.twig\" with {
icon: 'peak-logo',
width: '100%',
height: '100%'
} %}
{% include \"@molecules/search-form/search-form.twig\" %}
", "@organisms/search/modal/modal.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/03-organisms/search/modal/modal.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 3];
static $filters = [];
static $functions = ["bem" => 1];
try {
$this->sandbox->checkSecurity(
['include'],
[],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_modal.twig_b_x7SAuE3-SGxT-E1-NtWSyNk', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @organisms/search/modal/modal.twig */
class __TwigTemplate_bae680d90296995df33c3cda2ff5a86d3f4747b033c3218df3e9422c2a11969c extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "global-search"]));
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "logo", [], "global-search"]));
echo ">
";
// line 3
$this->loadTemplate("@atoms/04-images/icon.twig", "@organisms/search/modal/modal.twig", 3)->display(twig_array_merge($context, ["icon" => "peak-logo", "width" => "100%", "height" => "100%"]));
// line 8
echo "
";
// line 10
$this->loadTemplate("@molecules/search-form/search-form.twig", "@organisms/search/modal/modal.twig", 10)->display($context);
// line 11
echo "
";
}
public function getTemplateName()
{
return "@organisms/search/modal/modal.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 49 => 11, 47 => 10, 43 => 8, 41 => 3, 37 => 2, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("
{% include \"@atoms/04-images/icon.twig\" with {
icon: 'peak-logo',
width: '100%',
height: '100%'
} %}
{% include \"@molecules/search-form/search-form.twig\" %}
", "@organisms/search/modal/modal.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/03-organisms/search/modal/modal.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 3];
static $filters = [];
static $functions = ["bem" => 1];
try {
$this->sandbox->checkSecurity(
['include'],
[],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_bae680d90296995df33c3cda2ff5a86d3f4747b033c3218df3e9422c2a11969c', '@organisms/search/modal/modal.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('@organisms/search/modal/modal.twig', NULL) (Line: 375)
Twig\Template->loadTemplate('@organisms/search/modal/modal.twig', 'themes/contrib/emulsify/templates/navigation/menu--user-action-menu.html.twig', 8) (Line: 38)
__TwigTemplate_935a484b1848bb935adcddcce9b2ea9102f08db267afa5380f9d120538ca65a7->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/navigation/menu--user-action-menu.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('menu__user_action_menu', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 79)
__TwigTemplate_26746b546d2a6a639efffa35c97c47e20419bae59ee6802208974db9fa4f3d5e->block_content(Array, Array) (Line: 214)
Twig\Template->displayBlock('content', Array, Array) (Line: 68)
__TwigTemplate_26746b546d2a6a639efffa35c97c47e20419bae59ee6802208974db9fa4f3d5e->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('core/themes/stable/templates/block/block--system-menu-block.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 42)
__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_search-form.twig_huPEC8WOAMhdhHOjgK0pFOgzm', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @molecules/search-form/search-form.twig */
class __TwigTemplate_138e8fea375496dd9b08e0dc6e4edac00b76ac459d63d44e0b610285d1b236d9 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "search"]));
echo " action=\"/product-search\" autocomplete=\"never\">
";
}
public function getTemplateName()
{
return "@molecules/search-form/search-form.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("
", "@molecules/search-form/search-form.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/02-molecules/search-form/search-form.twig");
}
public function checkSecurity()
{
static $tags = [];
static $filters = [];
static $functions = ["bem" => 1];
try {
$this->sandbox->checkSecurity(
[],
[],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_search-form.twig_huPEC8WOAMhdhHOjgK0pFOgzm', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @molecules/search-form/search-form.twig */
class __TwigTemplate_138e8fea375496dd9b08e0dc6e4edac00b76ac459d63d44e0b610285d1b236d9 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "search"]));
echo " action=\"/product-search\" autocomplete=\"never\">
";
}
public function getTemplateName()
{
return "@molecules/search-form/search-form.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("
", "@molecules/search-form/search-form.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/02-molecules/search-form/search-form.twig");
}
public function checkSecurity()
{
static $tags = [];
static $filters = [];
static $functions = ["bem" => 1];
try {
$this->sandbox->checkSecurity(
[],
[],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_138e8fea375496dd9b08e0dc6e4edac00b76ac459d63d44e0b610285d1b236d9', '@molecules/search-form/search-form.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('@molecules/search-form/search-form.twig', NULL) (Line: 375)
Twig\Template->loadTemplate('@molecules/search-form/search-form.twig', '@organisms/search/modal/modal.twig', 10) (Line: 47)
__TwigTemplate_bae680d90296995df33c3cda2ff5a86d3f4747b033c3218df3e9422c2a11969c->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 38)
__TwigTemplate_935a484b1848bb935adcddcce9b2ea9102f08db267afa5380f9d120538ca65a7->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/navigation/menu--user-action-menu.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('menu__user_action_menu', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 79)
__TwigTemplate_26746b546d2a6a639efffa35c97c47e20419bae59ee6802208974db9fa4f3d5e->block_content(Array, Array) (Line: 214)
Twig\Template->displayBlock('content', Array, Array) (Line: 68)
__TwigTemplate_26746b546d2a6a639efffa35c97c47e20419bae59ee6802208974db9fa4f3d5e->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('core/themes/stable/templates/block/block--system-menu-block.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 42)
__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_block--emulsify-branding._o77wUYVCghcIxYUheCfgVSu-e', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/block/block--emulsify-branding.html.twig */
class __TwigTemplate_7b4d6777dd8087aa8ecd5e914f8674702f0dacc41e724944a4253cf64545bb87 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo "
";
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/block/block--emulsify-branding.html.twig";
}
public function getDebugInfo()
{
return array ( 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("
", "themes/contrib/emulsify/templates/block/block--emulsify-branding.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/block/block--emulsify-branding.html.twig");
}
public function checkSecurity()
{
static $tags = [];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
[],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_block--emulsify-branding._o77wUYVCghcIxYUheCfgVSu-e', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/block/block--emulsify-branding.html.twig */
class __TwigTemplate_7b4d6777dd8087aa8ecd5e914f8674702f0dacc41e724944a4253cf64545bb87 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo "
";
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/block/block--emulsify-branding.html.twig";
}
public function getDebugInfo()
{
return array ( 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("
", "themes/contrib/emulsify/templates/block/block--emulsify-branding.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/block/block--emulsify-branding.html.twig");
}
public function checkSecurity()
{
static $tags = [];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
[],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_7b4d6777dd8087aa8ecd5e914f8674702f0dacc41e724944a4253cf64545bb87', 'themes/contrib/emulsify/templates/block/block--emulsify-branding.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/contrib/emulsify/templates/block/block--emulsify-branding.html.twig') (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/block/block--emulsify-branding.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 42)
__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_menu--main.html.twig_2mAOb3DjnEKPwTOX4oso1_IsC', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/navigation/menu--main.html.twig */
class __TwigTemplate_518ddc40a2ad28396e55a591edea6584a4fb05eb79304947fd9b1e43f5d6cd3d extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 21
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->attachLibrary("emulsify/main_menu"), "html", null, true);
echo "
";
// line 22
$this->loadTemplate("@molecules/menus/main-menu/main-menu.twig", "themes/contrib/emulsify/templates/navigation/menu--main.html.twig", 22)->display($context);
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/navigation/menu--main.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 36 => 22, 32 => 21,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override to display a menu.
*
* Available variables:
* - menu_name: The machine name of the menu.
* - items: A nested list of menu items. Each menu item contains:
* - attributes: HTML attributes for the menu item.
* - below: The menu item child items.
* - title: The menu link title.
* - url: The menu link url, instance of \\Drupal\\Core\\Url
* - localized_options: Menu link localized options.
* - is_expanded: TRUE if the link has visible children within the current
* menu tree.
* - is_collapsed: TRUE if the link has children within the current menu tree
* that are not currently visible.
* - in_active_trail: TRUE if the link is in the active trail.
*/
#}
{{ attach_library('emulsify/main_menu') }}
{% include \"@molecules/menus/main-menu/main-menu.twig\" %}
", "themes/contrib/emulsify/templates/navigation/menu--main.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/navigation/menu--main.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 22];
static $filters = [];
static $functions = ["attach_library" => 21];
try {
$this->sandbox->checkSecurity(
['include'],
[],
['attach_library']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_menu--main.html.twig_2mAOb3DjnEKPwTOX4oso1_IsC', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/navigation/menu--main.html.twig */
class __TwigTemplate_518ddc40a2ad28396e55a591edea6584a4fb05eb79304947fd9b1e43f5d6cd3d extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 21
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->env->getExtension('Drupal\Core\Template\TwigExtension')->attachLibrary("emulsify/main_menu"), "html", null, true);
echo "
";
// line 22
$this->loadTemplate("@molecules/menus/main-menu/main-menu.twig", "themes/contrib/emulsify/templates/navigation/menu--main.html.twig", 22)->display($context);
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/navigation/menu--main.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 36 => 22, 32 => 21,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override to display a menu.
*
* Available variables:
* - menu_name: The machine name of the menu.
* - items: A nested list of menu items. Each menu item contains:
* - attributes: HTML attributes for the menu item.
* - below: The menu item child items.
* - title: The menu link title.
* - url: The menu link url, instance of \\Drupal\\Core\\Url
* - localized_options: Menu link localized options.
* - is_expanded: TRUE if the link has visible children within the current
* menu tree.
* - is_collapsed: TRUE if the link has children within the current menu tree
* that are not currently visible.
* - in_active_trail: TRUE if the link is in the active trail.
*/
#}
{{ attach_library('emulsify/main_menu') }}
{% include \"@molecules/menus/main-menu/main-menu.twig\" %}
", "themes/contrib/emulsify/templates/navigation/menu--main.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/navigation/menu--main.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 22];
static $filters = [];
static $functions = ["attach_library" => 21];
try {
$this->sandbox->checkSecurity(
['include'],
[],
['attach_library']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_518ddc40a2ad28396e55a591edea6584a4fb05eb79304947fd9b1e43f5d6cd3d', 'themes/contrib/emulsify/templates/navigation/menu--main.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/contrib/emulsify/templates/navigation/menu--main.html.twig') (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/navigation/menu--main.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('menu__main', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 79)
__TwigTemplate_26746b546d2a6a639efffa35c97c47e20419bae59ee6802208974db9fa4f3d5e->block_content(Array, Array) (Line: 214)
Twig\Template->displayBlock('content', Array, Array) (Line: 68)
__TwigTemplate_26746b546d2a6a639efffa35c97c47e20419bae59ee6802208974db9fa4f3d5e->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('core/themes/stable/templates/block/block--system-menu-block.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 42)
__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_main-menu.twig_a0ErUN10VIb6fNdS9H-vA-1S1', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @molecules/menus/main-menu/main-menu.twig */
class __TwigTemplate_9106f7407a38959ef3ca4c54b3fc6b6245c9a117764aff42f0332459d994452e extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo "
<a>
";
// line 4
$this->loadTemplate("@atoms/04-images/icon.twig", "@molecules/menus/main-menu/main-menu.twig", 4)->display(twig_array_merge($context, ["icon" => "menu", "width" => "24px", "height" => "24px"]));
// line 9
echo "
";
// line 11
$this->loadTemplate("@atoms/04-images/icon.twig", "@molecules/menus/main-menu/main-menu.twig", 11)->display(twig_array_merge($context, ["icon" => "close", "width" => "24px", "height" => "24px"]));
// line 16
echo "
</a>
";
// line 19
$this->loadTemplate("@molecules/menus/_menu.twig", "@molecules/menus/main-menu/main-menu.twig", 19)->display(twig_array_merge($context, ["menu_class" => "main-menu"]));
// line 22
echo "
";
}
public function getTemplateName()
{
return "@molecules/menus/main-menu/main-menu.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 52 => 22, 50 => 19, 45 => 16, 43 => 11, 39 => 9, 37 => 4, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("
<a>
{% include \"@atoms/04-images/icon.twig\" with {
icon: 'menu',
width: '24px',
height: '24px'
} %}
{% include \"@atoms/04-images/icon.twig\" with {
icon: 'close',
width: '24px',
height: '24px'
} %}
</a>
{% include \"@molecules/menus/_menu.twig\" with {
menu_class: 'main-menu'
} %}
", "@molecules/menus/main-menu/main-menu.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/02-molecules/menus/main-menu/main-menu.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 4];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_main-menu.twig_a0ErUN10VIb6fNdS9H-vA-1S1', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @molecules/menus/main-menu/main-menu.twig */
class __TwigTemplate_9106f7407a38959ef3ca4c54b3fc6b6245c9a117764aff42f0332459d994452e extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo "
<a>
";
// line 4
$this->loadTemplate("@atoms/04-images/icon.twig", "@molecules/menus/main-menu/main-menu.twig", 4)->display(twig_array_merge($context, ["icon" => "menu", "width" => "24px", "height" => "24px"]));
// line 9
echo "
";
// line 11
$this->loadTemplate("@atoms/04-images/icon.twig", "@molecules/menus/main-menu/main-menu.twig", 11)->display(twig_array_merge($context, ["icon" => "close", "width" => "24px", "height" => "24px"]));
// line 16
echo "
</a>
";
// line 19
$this->loadTemplate("@molecules/menus/_menu.twig", "@molecules/menus/main-menu/main-menu.twig", 19)->display(twig_array_merge($context, ["menu_class" => "main-menu"]));
// line 22
echo "
";
}
public function getTemplateName()
{
return "@molecules/menus/main-menu/main-menu.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 52 => 22, 50 => 19, 45 => 16, 43 => 11, 39 => 9, 37 => 4, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("
<a>
{% include \"@atoms/04-images/icon.twig\" with {
icon: 'menu',
width: '24px',
height: '24px'
} %}
{% include \"@atoms/04-images/icon.twig\" with {
icon: 'close',
width: '24px',
height: '24px'
} %}
</a>
{% include \"@molecules/menus/_menu.twig\" with {
menu_class: 'main-menu'
} %}
", "@molecules/menus/main-menu/main-menu.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/02-molecules/menus/main-menu/main-menu.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 4];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_9106f7407a38959ef3ca4c54b3fc6b6245c9a117764aff42f0332459d994452e', '@molecules/menus/main-menu/main-menu.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('@molecules/menus/main-menu/main-menu.twig', NULL) (Line: 375)
Twig\Template->loadTemplate('@molecules/menus/main-menu/main-menu.twig', 'themes/contrib/emulsify/templates/navigation/menu--main.html.twig', 22) (Line: 36)
__TwigTemplate_518ddc40a2ad28396e55a591edea6584a4fb05eb79304947fd9b1e43f5d6cd3d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/navigation/menu--main.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('menu__main', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 79)
__TwigTemplate_26746b546d2a6a639efffa35c97c47e20419bae59ee6802208974db9fa4f3d5e->block_content(Array, Array) (Line: 214)
Twig\Template->displayBlock('content', Array, Array) (Line: 68)
__TwigTemplate_26746b546d2a6a639efffa35c97c47e20419bae59ee6802208974db9fa4f3d5e->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('core/themes/stable/templates/block/block--system-menu-block.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 42)
__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_link.twig_Fm1_r-eWZEkTdC70G37PrNIYt', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @atoms/01-links/link/link.twig */
class __TwigTemplate_b0eb9b1f5a5d609f93599f4454a89400c30f6dd513166a48dca94896f01e7450 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
'link_content' => [$this, 'block_link_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 16
$context["link_base_class"] = (((isset($context["link_base_class"]) || array_key_exists("link_base_class", $context))) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(($context["link_base_class"] ?? null)), "link")) : ("link"));
// line 17
echo "
<a>env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, $this->sandbox->ensureToStringAllowed(($context["link_base_class"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["link_modifiers"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["link_blockname"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["link_include_classes"] ?? null))]));
echo "
";
// line 20
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["link_attributes"] ?? null));
foreach ($context['_seq'] as $context["attribute"] => $context["value"]) {
// line 21
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($context["attribute"]), "html", null, true);
echo "=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($context["value"]), "html", null, true);
echo "\"
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['attribute'], $context['value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 23
echo " href=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["link_url"] ?? null)), "html", null, true);
echo "\"
>
";
// line 25
$this->displayBlock('link_content', $context, $blocks);
// line 28
echo "</a>
";
}
// line 25
public function block_link_content($context, array $blocks = [])
{
// line 26
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["link_content"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "@atoms/01-links/link/link.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 74 => 26, 71 => 25, 66 => 28, 64 => 25, 58 => 23, 47 => 21, 43 => 20, 39 => 19, 35 => 17, 33 => 16,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* Available variables:
* - link_content - the content of the link (typically text)
* - link_url - the url this link should poing to
* - link_attributes - array of attribute,value pairs
* - link_base_class - the base class name
* - link_modifiers - array of modifiers to add to the base classname
* - link_blockname - blockname prepended to the base classname
*
* Available blocks:
* - link_content - used to replace the content of the link
* Example: to insert the image component
*/
#}
{% set link_base_class = link_base_class|default('link') %}
<a for value in attributes attribute endfor>
{% block link_content %}
{{ link_content }}
{% endblock %}
</a>
", "@atoms/01-links/link/link.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/01-atoms/01-links/link/link.twig");
}
public function checkSecurity()
{
static $tags = ["set" => 16, "for" => 20, "block" => 25];
static $filters = ["default" => 16];
static $functions = ["bem" => 19];
try {
$this->sandbox->checkSecurity(
['set', 'for', 'block'],
['default'],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_link.twig_Fm1_r-eWZEkTdC70G37PrNIYt', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @atoms/01-links/link/link.twig */
class __TwigTemplate_b0eb9b1f5a5d609f93599f4454a89400c30f6dd513166a48dca94896f01e7450 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
'link_content' => [$this, 'block_link_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 16
$context["link_base_class"] = (((isset($context["link_base_class"]) || array_key_exists("link_base_class", $context))) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(($context["link_base_class"] ?? null)), "link")) : ("link"));
// line 17
echo "
<a>env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, $this->sandbox->ensureToStringAllowed(($context["link_base_class"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["link_modifiers"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["link_blockname"] ?? null)), $this->sandbox->ensureToStringAllowed(($context["link_include_classes"] ?? null))]));
echo "
";
// line 20
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["link_attributes"] ?? null));
foreach ($context['_seq'] as $context["attribute"] => $context["value"]) {
// line 21
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($context["attribute"]), "html", null, true);
echo "=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($context["value"]), "html", null, true);
echo "\"
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['attribute'], $context['value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 23
echo " href=\"";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["link_url"] ?? null)), "html", null, true);
echo "\"
>
";
// line 25
$this->displayBlock('link_content', $context, $blocks);
// line 28
echo "</a>
";
}
// line 25
public function block_link_content($context, array $blocks = [])
{
// line 26
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["link_content"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "@atoms/01-links/link/link.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 74 => 26, 71 => 25, 66 => 28, 64 => 25, 58 => 23, 47 => 21, 43 => 20, 39 => 19, 35 => 17, 33 => 16,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* Available variables:
* - link_content - the content of the link (typically text)
* - link_url - the url this link should poing to
* - link_attributes - array of attribute,value pairs
* - link_base_class - the base class name
* - link_modifiers - array of modifiers to add to the base classname
* - link_blockname - blockname prepended to the base classname
*
* Available blocks:
* - link_content - used to replace the content of the link
* Example: to insert the image component
*/
#}
{% set link_base_class = link_base_class|default('link') %}
<a for value in attributes attribute endfor>
{% block link_content %}
{{ link_content }}
{% endblock %}
</a>
", "@atoms/01-links/link/link.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/01-atoms/01-links/link/link.twig");
}
public function checkSecurity()
{
static $tags = ["set" => 16, "for" => 20, "block" => 25];
static $filters = ["default" => 16];
static $functions = ["bem" => 19];
try {
$this->sandbox->checkSecurity(
['set', 'for', 'block'],
['default'],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_b0eb9b1f5a5d609f93599f4454a89400c30f6dd513166a48dca94896f01e7450', '@atoms/01-links/link/link.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('@atoms/01-links/link/link.twig', NULL) (Line: 375)
Twig\Template->loadTemplate('@atoms/01-links/link/link.twig', '@molecules/menus/_menu-item.twig', 63) (Line: 341)
__TwigTemplate_2087165039037eaf7b7238181e54bde14e9b677da34a879237eef6c941dad0f7___438199751->block_list_item_content(Array, Array) (Line: 214)
Twig\Template->displayBlock('list_item_content', Array, Array) (Line: 42)
__TwigTemplate_9162d5e722910dc6fe058e4fc538d75cad54e4e61460007db37d86bd4f249ee8->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array, Array) (Line: 250)
__TwigTemplate_2087165039037eaf7b7238181e54bde14e9b677da34a879237eef6c941dad0f7___438199751->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 75)
__TwigTemplate_2087165039037eaf7b7238181e54bde14e9b677da34a879237eef6c941dad0f7->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 339)
__TwigTemplate_5b0d982ca2654521f2c6f9ac02d26536c83b046f5cda876f59def71925ff2f94___1706337000->block_list_content(Array, Array) (Line: 214)
Twig\Template->displayBlock('list_content', Array, Array) (Line: 42)
__TwigTemplate_a6e8d13e165f06e7636fc759c13b7093434df8f59be9176bd09adb0b1334677b->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array, Array) (Line: 313)
__TwigTemplate_5b0d982ca2654521f2c6f9ac02d26536c83b046f5cda876f59def71925ff2f94___1706337000->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 122)
__TwigTemplate_5b0d982ca2654521f2c6f9ac02d26536c83b046f5cda876f59def71925ff2f94->getmenu_links(Array, NULL, Object, 0, 'main-menu', NULL, NULL, NULL, NULL, NULL, NULL) (Line: 40)
__TwigTemplate_5b0d982ca2654521f2c6f9ac02d26536c83b046f5cda876f59def71925ff2f94->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 50)
__TwigTemplate_9106f7407a38959ef3ca4c54b3fc6b6245c9a117764aff42f0332459d994452e->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 36)
__TwigTemplate_518ddc40a2ad28396e55a591edea6584a4fb05eb79304947fd9b1e43f5d6cd3d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/navigation/menu--main.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('menu__main', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 79)
__TwigTemplate_26746b546d2a6a639efffa35c97c47e20419bae59ee6802208974db9fa4f3d5e->block_content(Array, Array) (Line: 214)
Twig\Template->displayBlock('content', Array, Array) (Line: 68)
__TwigTemplate_26746b546d2a6a639efffa35c97c47e20419bae59ee6802208974db9fa4f3d5e->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('core/themes/stable/templates/block/block--system-menu-block.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 42)
__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_region--header.html.twig_gAaAhCoYcgnZS6H38lEsaU8eM', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/layout/region--header.html.twig */
class __TwigTemplate_2c2a81fd39040b06616c686ae1aa2159ab5f94eedc934cf72f12b66c11fecfb9 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 15
return "@organisms/site/site-header/site-header.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->parent = $this->loadTemplate("@organisms/site/site-header/site-header.twig", "themes/contrib/emulsify/templates/layout/region--header.html.twig", 15);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/layout/region--header.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 30 => 15,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override to display a region.
*
* Available variables:
* - content: The content for this region, typically blocks.
* - attributes: HTML attributes for the region div.
* - region: The name of the region variable as defined in the theme's
* .info.yml file.
*
* @see template_preprocess_region()
*/
#}
{% extends \"@organisms/site/site-header/site-header.twig\" %}
{#{% block logo %}#}
{#{{ elements.emulsify_branding }}#}
{#{% endblock %}#}
{#{% block search %}#}
{#{{ elements.emulsify_search }}#}
{#{% endblock %}#}
", "themes/contrib/emulsify/templates/layout/region--header.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/layout/region--header.html.twig");
}
public function checkSecurity()
{
static $tags = [];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
[],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_region--header.html.twig_gAaAhCoYcgnZS6H38lEsaU8eM', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/layout/region--header.html.twig */
class __TwigTemplate_2c2a81fd39040b06616c686ae1aa2159ab5f94eedc934cf72f12b66c11fecfb9 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 15
return "@organisms/site/site-header/site-header.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->parent = $this->loadTemplate("@organisms/site/site-header/site-header.twig", "themes/contrib/emulsify/templates/layout/region--header.html.twig", 15);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/layout/region--header.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 30 => 15,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override to display a region.
*
* Available variables:
* - content: The content for this region, typically blocks.
* - attributes: HTML attributes for the region div.
* - region: The name of the region variable as defined in the theme's
* .info.yml file.
*
* @see template_preprocess_region()
*/
#}
{% extends \"@organisms/site/site-header/site-header.twig\" %}
{#{% block logo %}#}
{#{{ elements.emulsify_branding }}#}
{#{% endblock %}#}
{#{% block search %}#}
{#{{ elements.emulsify_search }}#}
{#{% endblock %}#}
", "themes/contrib/emulsify/templates/layout/region--header.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/layout/region--header.html.twig");
}
public function checkSecurity()
{
static $tags = [];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
[],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_2c2a81fd39040b06616c686ae1aa2159ab5f94eedc934cf72f12b66c11fecfb9', 'themes/contrib/emulsify/templates/layout/region--header.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/contrib/emulsify/templates/layout/region--header.html.twig') (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/region--header.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('region', Array) (Line: 493)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 42)
__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_site-header.twig_9dHGfb0UCn7JQ7Wkidn5SlPn1', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @organisms/site/site-header/site-header.twig */
class __TwigTemplate_fc89fb96b415dc936907ff39b617533ad9e5ea332f09c322da28720c978fbdb8 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo "
";
// line 2
$context["cart_count"] = (((isset($context["cart_count"]) || array_key_exists("cart_count", $context))) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(($context["cart_count"] ?? null)), 0)) : (0));
// line 3
echo "
";
// line 6
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "@organisms/site/site-header/site-header.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 42 => 6, 37 => 3, 35 => 2, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("
{% set cart_count = cart_count|default(0) %}
{{ content }}
", "@organisms/site/site-header/site-header.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/03-organisms/site/site-header/site-header.twig");
}
public function checkSecurity()
{
static $tags = ["set" => 2];
static $filters = ["default" => 2];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['set'],
['default'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_site-header.twig_9dHGfb0UCn7JQ7Wkidn5SlPn1', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @organisms/site/site-header/site-header.twig */
class __TwigTemplate_fc89fb96b415dc936907ff39b617533ad9e5ea332f09c322da28720c978fbdb8 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo "
";
// line 2
$context["cart_count"] = (((isset($context["cart_count"]) || array_key_exists("cart_count", $context))) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(($context["cart_count"] ?? null)), 0)) : (0));
// line 3
echo "
";
// line 6
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "@organisms/site/site-header/site-header.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 42 => 6, 37 => 3, 35 => 2, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("
{% set cart_count = cart_count|default(0) %}
{{ content }}
", "@organisms/site/site-header/site-header.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/03-organisms/site/site-header/site-header.twig");
}
public function checkSecurity()
{
static $tags = ["set" => 2];
static $filters = ["default" => 2];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['set'],
['default'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_fc89fb96b415dc936907ff39b617533ad9e5ea332f09c322da28720c978fbdb8', '@organisms/site/site-header/site-header.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('@organisms/site/site-header/site-header.twig', NULL) (Line: 375)
Twig\Template->loadTemplate('@organisms/site/site-header/site-header.twig', 'themes/contrib/emulsify/templates/layout/region--header.html.twig', 15) (Line: 35)
__TwigTemplate_2c2a81fd39040b06616c686ae1aa2159ab5f94eedc934cf72f12b66c11fecfb9->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/region--header.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('region', Array) (Line: 493)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 42)
__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_chat.twig_yIEljtqYE2pg5UZlXbQ2sTfPE', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @molecules/chat/chat.twig */
class __TwigTemplate_d02e8dd52e84296f03ea375e91c8c0232a1ec44c9918042c93518b68a49d918c extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "chat"]));
echo ">
";
// line 2
$this->loadTemplate("@atoms/06-buttons/01-button.twig", "@molecules/chat/chat.twig", 2)->display(twig_array_merge($context, ["button_url" => "#", "button_content" => "Chat with us", "button_modifiers" => [0 => "dark", 1 => "bubble"]]));
// line 7
echo "
";
}
public function getTemplateName()
{
return "@molecules/chat/chat.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 39 => 7, 37 => 2, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("
{% include \"@atoms/06-buttons/01-button.twig\" with {
\"button_url\": \"#\",
\"button_content\": \"Chat with us\",
\"button_modifiers\": [\"dark\", \"bubble\"]
} %}
", "@molecules/chat/chat.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/02-molecules/chat/chat.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 2];
static $filters = [];
static $functions = ["bem" => 1];
try {
$this->sandbox->checkSecurity(
['include'],
[],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_chat.twig_yIEljtqYE2pg5UZlXbQ2sTfPE', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @molecules/chat/chat.twig */
class __TwigTemplate_d02e8dd52e84296f03ea375e91c8c0232a1ec44c9918042c93518b68a49d918c extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "chat"]));
echo ">
";
// line 2
$this->loadTemplate("@atoms/06-buttons/01-button.twig", "@molecules/chat/chat.twig", 2)->display(twig_array_merge($context, ["button_url" => "#", "button_content" => "Chat with us", "button_modifiers" => [0 => "dark", 1 => "bubble"]]));
// line 7
echo "
";
}
public function getTemplateName()
{
return "@molecules/chat/chat.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 39 => 7, 37 => 2, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("
{% include \"@atoms/06-buttons/01-button.twig\" with {
\"button_url\": \"#\",
\"button_content\": \"Chat with us\",
\"button_modifiers\": [\"dark\", \"bubble\"]
} %}
", "@molecules/chat/chat.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/02-molecules/chat/chat.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 2];
static $filters = [];
static $functions = ["bem" => 1];
try {
$this->sandbox->checkSecurity(
['include'],
[],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_d02e8dd52e84296f03ea375e91c8c0232a1ec44c9918042c93518b68a49d918c', '@molecules/chat/chat.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('@molecules/chat/chat.twig', NULL) (Line: 375)
Twig\Template->loadTemplate('@molecules/chat/chat.twig', '@pages/_page.twig', 61) (Line: 72)
__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_block.html.twig_Pi_KeHlzg9t7qRqnmhXptjONJ', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/block/block.html.twig */
class __TwigTemplate_80ce6ea12d949cb1c48a4e5ef1d4d3108674fc164014aff042b85d0c57d68985 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 28
$this->loadTemplate("@molecules/_block.twig", "themes/contrib/emulsify/templates/block/block.html.twig", 28)->display($context);
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/block/block.html.twig";
}
public function getDebugInfo()
{
return array ( 32 => 28,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override to display a block.
*
* Available variables:
* - plugin_id: The ID of the block implementation.
* - label: The configured label of the block if visible.
* - configuration: A list of the block's configuration values.
* - label: The configured label for the block.
* - label_display: The display settings for the label.
* - provider: The module or other provider that provided this block plugin.
* - Block plugin specific settings will also be stored here.
* - content: The content of this block.
* - attributes: array of HTML attributes populated by modules, intended to
* be added to the main container tag of this template.
* - id: A valid HTML ID and guaranteed unique.
* - title_attributes: Same as attributes, except applied to the main title
* tag that appears in the template.
* - title_prefix: Additional output populated by modules, intended to be
* displayed in front of the main title tag that appears in the template.
* - title_suffix: Additional output populated by modules, intended to be
* displayed after the main title tag that appears in the template.
*
* @see template_preprocess_block()
*/
#}
{% include \"@molecules/_block.twig\" %}
", "themes/contrib/emulsify/templates/block/block.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/block/block.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 28];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_block.html.twig_Pi_KeHlzg9t7qRqnmhXptjONJ', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/block/block.html.twig */
class __TwigTemplate_80ce6ea12d949cb1c48a4e5ef1d4d3108674fc164014aff042b85d0c57d68985 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 28
$this->loadTemplate("@molecules/_block.twig", "themes/contrib/emulsify/templates/block/block.html.twig", 28)->display($context);
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/block/block.html.twig";
}
public function getDebugInfo()
{
return array ( 32 => 28,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override to display a block.
*
* Available variables:
* - plugin_id: The ID of the block implementation.
* - label: The configured label of the block if visible.
* - configuration: A list of the block's configuration values.
* - label: The configured label for the block.
* - label_display: The display settings for the label.
* - provider: The module or other provider that provided this block plugin.
* - Block plugin specific settings will also be stored here.
* - content: The content of this block.
* - attributes: array of HTML attributes populated by modules, intended to
* be added to the main container tag of this template.
* - id: A valid HTML ID and guaranteed unique.
* - title_attributes: Same as attributes, except applied to the main title
* tag that appears in the template.
* - title_prefix: Additional output populated by modules, intended to be
* displayed in front of the main title tag that appears in the template.
* - title_suffix: Additional output populated by modules, intended to be
* displayed after the main title tag that appears in the template.
*
* @see template_preprocess_block()
*/
#}
{% include \"@molecules/_block.twig\" %}
", "themes/contrib/emulsify/templates/block/block.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/block/block.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 28];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_80ce6ea12d949cb1c48a4e5ef1d4d3108674fc164014aff042b85d0c57d68985', 'themes/contrib/emulsify/templates/block/block.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/contrib/emulsify/templates/block/block.html.twig') (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/block/block.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 105)
__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f__block.twig_HDupAk0OHBBlo_GHsIEDxnThI', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @molecules/_block.twig */
class __TwigTemplate_c955dfa60daccde72a12d5096ebe4b905b3ccb512d87307577d53c0e80cd6c05 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
'content' => [$this, 'block_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 28
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "block"]));
echo ">
";
// line 31
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_prefix"] ?? null)), "html", null, true);
echo "
";
// line 32
if (($context["label"] ?? null)) {
// line 33
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["title_attributes"] ?? null), "addClass", [0 => "h2"], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null)), "html", null, true);
echo "
";
}
// line 35
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_suffix"] ?? null)), "html", null, true);
echo "
";
// line 36
$this->displayBlock('content', $context, $blocks);
// line 39
echo "
";
}
// line 36
public function block_content($context, array $blocks = [])
{
// line 37
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "@molecules/_block.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 70 => 37, 67 => 36, 62 => 39, 60 => 36, 55 => 35, 47 => 33, 45 => 32, 41 => 31, 37 => 30, 33 => 28,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override to display a block.
*
* Available variables:
* - plugin_id: The ID of the block implementation.
* - label: The configured label of the block if visible.
* - configuration: A list of the block's configuration values.
* - label: The configured label for the block.
* - label_display: The display settings for the label.
* - provider: The module or other provider that provided this block plugin.
* - Block plugin specific settings will also be stored here.
* - content: The content of this block.
* - attributes: array of HTML attributes populated by modules, intended to
* be added to the main container tag of this template.
* - id: A valid HTML ID and guaranteed unique.
* - title_attributes: Same as attributes, except applied to the main title
* tag that appears in the template.
* - title_prefix: Additional output populated by modules, intended to be
* displayed in front of the main title tag that appears in the template.
* - title_suffix: Additional output populated by modules, intended to be
* displayed after the main title tag that appears in the template.
*
* @see template_preprocess_block()
*/
#}
{{ title_prefix }}
{% if label %}
{{ label }}
{% endif %}
{{ title_suffix }}
{% block content %}
{{ content }}
{% endblock %}
", "@molecules/_block.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/02-molecules/_block.twig");
}
public function checkSecurity()
{
static $tags = ["if" => 32, "block" => 36];
static $filters = [];
static $functions = ["bem" => 30];
try {
$this->sandbox->checkSecurity(
['if', 'block'],
[],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f__block.twig_HDupAk0OHBBlo_GHsIEDxnThI', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @molecules/_block.twig */
class __TwigTemplate_c955dfa60daccde72a12d5096ebe4b905b3ccb512d87307577d53c0e80cd6c05 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
'content' => [$this, 'block_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 28
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "block"]));
echo ">
";
// line 31
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_prefix"] ?? null)), "html", null, true);
echo "
";
// line 32
if (($context["label"] ?? null)) {
// line 33
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["title_attributes"] ?? null), "addClass", [0 => "h2"], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null)), "html", null, true);
echo "
";
}
// line 35
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_suffix"] ?? null)), "html", null, true);
echo "
";
// line 36
$this->displayBlock('content', $context, $blocks);
// line 39
echo "
";
}
// line 36
public function block_content($context, array $blocks = [])
{
// line 37
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "@molecules/_block.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 70 => 37, 67 => 36, 62 => 39, 60 => 36, 55 => 35, 47 => 33, 45 => 32, 41 => 31, 37 => 30, 33 => 28,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override to display a block.
*
* Available variables:
* - plugin_id: The ID of the block implementation.
* - label: The configured label of the block if visible.
* - configuration: A list of the block's configuration values.
* - label: The configured label for the block.
* - label_display: The display settings for the label.
* - provider: The module or other provider that provided this block plugin.
* - Block plugin specific settings will also be stored here.
* - content: The content of this block.
* - attributes: array of HTML attributes populated by modules, intended to
* be added to the main container tag of this template.
* - id: A valid HTML ID and guaranteed unique.
* - title_attributes: Same as attributes, except applied to the main title
* tag that appears in the template.
* - title_prefix: Additional output populated by modules, intended to be
* displayed in front of the main title tag that appears in the template.
* - title_suffix: Additional output populated by modules, intended to be
* displayed after the main title tag that appears in the template.
*
* @see template_preprocess_block()
*/
#}
{{ title_prefix }}
{% if label %}
{{ label }}
{% endif %}
{{ title_suffix }}
{% block content %}
{{ content }}
{% endblock %}
", "@molecules/_block.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/02-molecules/_block.twig");
}
public function checkSecurity()
{
static $tags = ["if" => 32, "block" => 36];
static $filters = [];
static $functions = ["bem" => 30];
try {
$this->sandbox->checkSecurity(
['if', 'block'],
[],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_c955dfa60daccde72a12d5096ebe4b905b3ccb512d87307577d53c0e80cd6c05', '@molecules/_block.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('@molecules/_block.twig', NULL) (Line: 375)
Twig\Template->loadTemplate('@molecules/_block.twig', 'themes/contrib/emulsify/templates/block/block.html.twig', 28) (Line: 32)
__TwigTemplate_80ce6ea12d949cb1c48a4e5ef1d4d3108674fc164014aff042b85d0c57d68985->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/block/block.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 105)
__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_input.html.twig_2xEuEa3khxMYITNtTSkvRT2QH', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/form/input.html.twig */
class __TwigTemplate_851aca2b75ea5d9d3afe9e54c9824fb019b019f9279f079b0c1b5451531d2602 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 13
$this->loadTemplate("@atoms/05-forms/_input.twig", "themes/contrib/emulsify/templates/form/input.html.twig", 13)->display($context);
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/form/input.html.twig";
}
public function getDebugInfo()
{
return array ( 32 => 13,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @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()
*/
#}
{% include \"@atoms/05-forms/_input.twig\" %}
", "themes/contrib/emulsify/templates/form/input.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/form/input.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 13];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_input.html.twig_2xEuEa3khxMYITNtTSkvRT2QH', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/form/input.html.twig */
class __TwigTemplate_851aca2b75ea5d9d3afe9e54c9824fb019b019f9279f079b0c1b5451531d2602 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 13
$this->loadTemplate("@atoms/05-forms/_input.twig", "themes/contrib/emulsify/templates/form/input.html.twig", 13)->display($context);
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/form/input.html.twig";
}
public function getDebugInfo()
{
return array ( 32 => 13,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @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()
*/
#}
{% include \"@atoms/05-forms/_input.twig\" %}
", "themes/contrib/emulsify/templates/form/input.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/form/input.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 13];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_851aca2b75ea5d9d3afe9e54c9824fb019b019f9279f079b0c1b5451531d2602', 'themes/contrib/emulsify/templates/form/input.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/contrib/emulsify/templates/form/input.html.twig') (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/form/input.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('input', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 71)
__TwigTemplate_c955dfa60daccde72a12d5096ebe4b905b3ccb512d87307577d53c0e80cd6c05->block_content(Array, Array) (Line: 214)
Twig\Template->displayBlock('content', Array, Array) (Line: 60)
__TwigTemplate_c955dfa60daccde72a12d5096ebe4b905b3ccb512d87307577d53c0e80cd6c05->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_80ce6ea12d949cb1c48a4e5ef1d4d3108674fc164014aff042b85d0c57d68985->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/block/block.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 105)
__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_form-element.html.twig_FyMhL2RQwwm9j6fWxv7RQcgFm', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/form/form-element.html.twig */
class __TwigTemplate_d49ba0fb3e61c82885c03fbdfac52054f85b87d0e9d3c41f7b9aece68e015692 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 48
$context["classes"] = [0 => "js-form-item", 1 => "form-item", 2 => ("js-form-type-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 51
($context["type"] ?? null)))), 3 => ("form-item-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 52
($context["name"] ?? null)))), 4 => ("js-form-item-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 53
($context["name"] ?? null)))), 5 => ((!twig_in_filter( // line 54
($context["title_display"] ?? null), [0 => "after", 1 => "before"])) ? ("form-no-label") : ("")), 6 => ((( // line 55
($context["disabled"] ?? null) == "disabled")) ? ("form-disabled") : ("")), 7 => (( // line 56
($context["errors"] ?? null)) ? ("form-item--error") : (""))];
// line 59
echo "
";
// line 60
$this->loadTemplate("@atoms/05-forms/_form-element.twig", "themes/contrib/emulsify/templates/form/form-element.html.twig", 60)->display($context);
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/form/form-element.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 43 => 60, 40 => 59, 38 => 56, 37 => 55, 36 => 54, 35 => 53, 34 => 52, 33 => 51, 32 => 48,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for a form element.
*
* Available variables:
* - attributes: HTML attributes for the containing element.
* - errors: (optional) Any errors for this form element, may not be set.
* - prefix: (optional) The form element prefix, may not be set.
* - suffix: (optional) The form element suffix, may not be set.
* - required: The required marker, or empty if the associated form element is
* not required.
* - type: The type of the element.
* - name: The name of the element.
* - label: A rendered label element.
* - label_display: Label display setting. It can have these values:
* - before: The label is output before the element. This is the default.
* The label includes the #title and the required marker, if #required.
* - after: The label is output after the element. For example, this is used
* for radio and checkbox #type elements. If the #title is empty but the
* field is #required, the label will contain only the required marker.
* - invisible: Labels are critical for screen readers to enable them to
* properly navigate through forms but can be visually distracting. This
* property hides the label for everyone except screen readers.
* - attribute: Set the title attribute on the element to create a tooltip but
* output no label element. This is supported only for checkboxes and radios
* in \\Drupal\\Core\\Render\\Element\\CompositeFormElementTrait::preRenderCompositeFormElement().
* It is used where a visual label is not needed, such as a table of
* checkboxes where the row and column provide the context. The tooltip will
* include the title and required marker.
* - description: (optional) A list of description properties containing:
* - content: A description of the form element, may not be set.
* - attributes: (optional) A list of HTML attributes to apply to the
* description content wrapper. Will only be set when description is set.
* - description_display: Description display setting. It can have these values:
* - before: The description is output before the element.
* - after: The description is output after the element. This is the default
* value.
* - invisible: The description is output after the element, hidden visually
* but available to screen readers.
* - disabled: True if the element is disabled.
* - title_display: Title display setting.
*
* @see template_preprocess_form_element()
*/
#}
{%
set classes = [
'js-form-item',
'form-item',
'js-form-type-' ~ type|clean_class,
'form-item-' ~ name|clean_class,
'js-form-item-' ~ name|clean_class,
title_display not in ['after', 'before'] ? 'form-no-label',
disabled == 'disabled' ? 'form-disabled',
errors ? 'form-item--error'
]
%}
{% include \"@atoms/05-forms/_form-element.twig\" %}
", "themes/contrib/emulsify/templates/form/form-element.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/form/form-element.html.twig");
}
public function checkSecurity()
{
static $tags = ["set" => 48, "include" => 60];
static $filters = ["clean_class" => 51];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['set', 'include'],
['clean_class'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_form-element.html.twig_FyMhL2RQwwm9j6fWxv7RQcgFm', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/form/form-element.html.twig */
class __TwigTemplate_d49ba0fb3e61c82885c03fbdfac52054f85b87d0e9d3c41f7b9aece68e015692 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 48
$context["classes"] = [0 => "js-form-item", 1 => "form-item", 2 => ("js-form-type-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 51
($context["type"] ?? null)))), 3 => ("form-item-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 52
($context["name"] ?? null)))), 4 => ("js-form-item-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 53
($context["name"] ?? null)))), 5 => ((!twig_in_filter( // line 54
($context["title_display"] ?? null), [0 => "after", 1 => "before"])) ? ("form-no-label") : ("")), 6 => ((( // line 55
($context["disabled"] ?? null) == "disabled")) ? ("form-disabled") : ("")), 7 => (( // line 56
($context["errors"] ?? null)) ? ("form-item--error") : (""))];
// line 59
echo "
";
// line 60
$this->loadTemplate("@atoms/05-forms/_form-element.twig", "themes/contrib/emulsify/templates/form/form-element.html.twig", 60)->display($context);
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/form/form-element.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 43 => 60, 40 => 59, 38 => 56, 37 => 55, 36 => 54, 35 => 53, 34 => 52, 33 => 51, 32 => 48,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for a form element.
*
* Available variables:
* - attributes: HTML attributes for the containing element.
* - errors: (optional) Any errors for this form element, may not be set.
* - prefix: (optional) The form element prefix, may not be set.
* - suffix: (optional) The form element suffix, may not be set.
* - required: The required marker, or empty if the associated form element is
* not required.
* - type: The type of the element.
* - name: The name of the element.
* - label: A rendered label element.
* - label_display: Label display setting. It can have these values:
* - before: The label is output before the element. This is the default.
* The label includes the #title and the required marker, if #required.
* - after: The label is output after the element. For example, this is used
* for radio and checkbox #type elements. If the #title is empty but the
* field is #required, the label will contain only the required marker.
* - invisible: Labels are critical for screen readers to enable them to
* properly navigate through forms but can be visually distracting. This
* property hides the label for everyone except screen readers.
* - attribute: Set the title attribute on the element to create a tooltip but
* output no label element. This is supported only for checkboxes and radios
* in \\Drupal\\Core\\Render\\Element\\CompositeFormElementTrait::preRenderCompositeFormElement().
* It is used where a visual label is not needed, such as a table of
* checkboxes where the row and column provide the context. The tooltip will
* include the title and required marker.
* - description: (optional) A list of description properties containing:
* - content: A description of the form element, may not be set.
* - attributes: (optional) A list of HTML attributes to apply to the
* description content wrapper. Will only be set when description is set.
* - description_display: Description display setting. It can have these values:
* - before: The description is output before the element.
* - after: The description is output after the element. This is the default
* value.
* - invisible: The description is output after the element, hidden visually
* but available to screen readers.
* - disabled: True if the element is disabled.
* - title_display: Title display setting.
*
* @see template_preprocess_form_element()
*/
#}
{%
set classes = [
'js-form-item',
'form-item',
'js-form-type-' ~ type|clean_class,
'form-item-' ~ name|clean_class,
'js-form-item-' ~ name|clean_class,
title_display not in ['after', 'before'] ? 'form-no-label',
disabled == 'disabled' ? 'form-disabled',
errors ? 'form-item--error'
]
%}
{% include \"@atoms/05-forms/_form-element.twig\" %}
", "themes/contrib/emulsify/templates/form/form-element.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/form/form-element.html.twig");
}
public function checkSecurity()
{
static $tags = ["set" => 48, "include" => 60];
static $filters = ["clean_class" => 51];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['set', 'include'],
['clean_class'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_d49ba0fb3e61c82885c03fbdfac52054f85b87d0e9d3c41f7b9aece68e015692', 'themes/contrib/emulsify/templates/form/form-element.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/contrib/emulsify/templates/form/form-element.html.twig') (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/form/form-element.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('form_element', Array) (Line: 493)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 71)
__TwigTemplate_c955dfa60daccde72a12d5096ebe4b905b3ccb512d87307577d53c0e80cd6c05->block_content(Array, Array) (Line: 214)
Twig\Template->displayBlock('content', Array, Array) (Line: 60)
__TwigTemplate_c955dfa60daccde72a12d5096ebe4b905b3ccb512d87307577d53c0e80cd6c05->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_80ce6ea12d949cb1c48a4e5ef1d4d3108674fc164014aff042b85d0c57d68985->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/block/block.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 105)
__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f__form-element.twig_vXaGKBwpppjLiVQj_1lK4iq8p', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @atoms/05-forms/_form-element.twig */
class __TwigTemplate_a7f412bd7b1635bc395547d568a32a44484aee89e0c574240474e7a0acb86ff3 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 48
echo " ";
// line 49
echo " ";
// line 50
echo " ";
// line 51
echo " ";
// line 54
$context["description_classes"] = [0 => "form-item__description", 1 => ((( // line 56
($context["description_display"] ?? null) == "invisible")) ? ("visually-hidden") : (""))];
// line 59
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "form-item", [0 => ($context["type"] ?? null)], "", $this->sandbox->ensureToStringAllowed(($context["classes"] ?? null))]));
echo ">
";
// line 62
if (twig_in_filter(($context["label_display"] ?? null), [0 => "before", 1 => "invisible"])) {
// line 63
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null)), "html", null, true);
echo "
";
}
// line 65
echo "
";
// line 66
if ( !twig_test_empty(($context["prefix"] ?? null))) {
// line 67
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["prefix"] ?? null)), "html", null, true);
echo "
";
}
// line 69
echo "
";
// line 70
if (((($context["description_display"] ?? null) == "before") && $this->getAttribute(($context["description"] ?? null), "content", []))) {
// line 71
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["description"] ?? null), "attributes", [])), "html", null, true);
echo ">
";
// line 72
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["description"] ?? null), "content", [])), "html", null, true);
echo "
";
}
// line 75
echo "
";
// line 76
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null)), "html", null, true);
echo "
";
// line 78
if ( !twig_test_empty(($context["suffix"] ?? null))) {
// line 79
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["suffix"] ?? null)), "html", null, true);
echo "
";
}
// line 81
echo "
";
// line 82
if ((($context["label_display"] ?? null) == "after")) {
// line 83
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null)), "html", null, true);
echo "
";
}
// line 85
echo "
";
// line 86
if (($context["errors"] ?? null)) {
// line 87
echo "
";
// line 88
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["errors"] ?? null)), "html", null, true);
echo "
";
}
// line 91
echo "
";
// line 92
if ((twig_in_filter(($context["description_display"] ?? null), [0 => "after", 1 => "invisible"]) && $this->getAttribute(($context["description"] ?? null), "content", []))) {
// line 93
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["description"] ?? null), "attributes", []), "addClass", [0 => ($context["description_classes"] ?? null)], "method")), "html", null, true);
echo ">
";
// line 94
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["description"] ?? null), "content", [])), "html", null, true);
echo "
";
}
// line 97
echo "
";
}
public function getTemplateName()
{
return "@atoms/05-forms/_form-element.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 143 => 97, 137 => 94, 132 => 93, 130 => 92, 127 => 91, 121 => 88, 118 => 87, 116 => 86, 113 => 85, 107 => 83, 105 => 82, 102 => 81, 96 => 79, 94 => 78, 89 => 76, 86 => 75, 80 => 72, 75 => 71, 73 => 70, 70 => 69, 64 => 67, 62 => 66, 59 => 65, 53 => 63, 51 => 62, 46 => 60, 43 => 59, 41 => 56, 40 => 54, 38 => 51, 36 => 50, 34 => 49, 32 => 48,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for a form element.
*
* Available variables:
* - attributes: HTML attributes for the containing element.
* - errors: (optional) Any errors for this form element, may not be set.
* - prefix: (optional) The form element prefix, may not be set.
* - suffix: (optional) The form element suffix, may not be set.
* - required: The required marker, or empty if the associated form element is
* not required.
* - type: The type of the element.
* - name: The name of the element.
* - label: A rendered label element.
* - label_display: Label display setting. It can have these values:
* - before: The label is output before the element. This is the default.
* The label includes the #title and the required marker, if #required.
* - after: The label is output after the element. For example, this is used
* for radio and checkbox #type elements. If the #title is empty but the
* field is #required, the label will contain only the required marker.
* - invisible: Labels are critical for screen readers to enable them to
* properly navigate through forms but can be visually distracting. This
* property hides the label for everyone except screen readers.
* - attribute: Set the title attribute on the element to create a tooltip but
* output no label element. This is supported only for checkboxes and radios
* in \\Drupal\\Core\\Render\\Element\\CompositeFormElementTrait::preRenderCompositeFormElement().
* It is used where a visual label is not needed, such as a table of
* checkboxes where the row and column provide the context. The tooltip will
* include the title and required marker.
* - description: (optional) A list of description properties containing:
* - content: A description of the form element, may not be set.
* - attributes: (optional) A list of HTML attributes to apply to the
* description content wrapper. Will only be set when description is set.
* - description_display: Description display setting. It can have these values:
* - before: The description is output before the element.
* - after: The description is output after the element. This is the default
* value.
* - invisible: The description is output after the element, hidden visually
* but available to screen readers.
* - disabled: True if the element is disabled.
* - title_display: Title display setting.
*
* @see template_preprocess_form_element()
*/
#}
{#{%#}
{#set classes = [#}
{#'js-form-item',#}
{#'form-item',#}
{#]#}
{#%}#}
{%
set description_classes = [
'form-item__description',
description_display == 'invisible' ? 'visually-hidden',
]
%}
{% if label_display in ['before', 'invisible'] %}
{{ label }}
{% endif %}
{% if prefix is not empty %}
{{ prefix }}
{% endif %}
{% if description_display == 'before' and description.content %}
{{ description.content }}
{% endif %}
{{ children }}
{% if suffix is not empty %}
{{ suffix }}
{% endif %}
{% if label_display == 'after' %}
{{ label }}
{% endif %}
{% if errors %}
{{ errors }}
{% endif %}
{% if description_display in ['after', 'invisible'] and description.content %}
{{ description.content }}
{% endif %}
", "@atoms/05-forms/_form-element.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/01-atoms/05-forms/_form-element.twig");
}
public function checkSecurity()
{
static $tags = ["set" => 54, "if" => 62];
static $filters = [];
static $functions = ["bem" => 60];
try {
$this->sandbox->checkSecurity(
['set', 'if'],
[],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f__form-element.twig_vXaGKBwpppjLiVQj_1lK4iq8p', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @atoms/05-forms/_form-element.twig */
class __TwigTemplate_a7f412bd7b1635bc395547d568a32a44484aee89e0c574240474e7a0acb86ff3 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 48
echo " ";
// line 49
echo " ";
// line 50
echo " ";
// line 51
echo " ";
// line 54
$context["description_classes"] = [0 => "form-item__description", 1 => ((( // line 56
($context["description_display"] ?? null) == "invisible")) ? ("visually-hidden") : (""))];
// line 59
echo "
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "form-item", [0 => ($context["type"] ?? null)], "", $this->sandbox->ensureToStringAllowed(($context["classes"] ?? null))]));
echo ">
";
// line 62
if (twig_in_filter(($context["label_display"] ?? null), [0 => "before", 1 => "invisible"])) {
// line 63
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null)), "html", null, true);
echo "
";
}
// line 65
echo "
";
// line 66
if ( !twig_test_empty(($context["prefix"] ?? null))) {
// line 67
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["prefix"] ?? null)), "html", null, true);
echo "
";
}
// line 69
echo "
";
// line 70
if (((($context["description_display"] ?? null) == "before") && $this->getAttribute(($context["description"] ?? null), "content", []))) {
// line 71
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["description"] ?? null), "attributes", [])), "html", null, true);
echo ">
";
// line 72
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["description"] ?? null), "content", [])), "html", null, true);
echo "
";
}
// line 75
echo "
";
// line 76
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null)), "html", null, true);
echo "
";
// line 78
if ( !twig_test_empty(($context["suffix"] ?? null))) {
// line 79
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["suffix"] ?? null)), "html", null, true);
echo "
";
}
// line 81
echo "
";
// line 82
if ((($context["label_display"] ?? null) == "after")) {
// line 83
echo " ";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null)), "html", null, true);
echo "
";
}
// line 85
echo "
";
// line 86
if (($context["errors"] ?? null)) {
// line 87
echo "
";
// line 88
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["errors"] ?? null)), "html", null, true);
echo "
";
}
// line 91
echo "
";
// line 92
if ((twig_in_filter(($context["description_display"] ?? null), [0 => "after", 1 => "invisible"]) && $this->getAttribute(($context["description"] ?? null), "content", []))) {
// line 93
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["description"] ?? null), "attributes", []), "addClass", [0 => ($context["description_classes"] ?? null)], "method")), "html", null, true);
echo ">
";
// line 94
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["description"] ?? null), "content", [])), "html", null, true);
echo "
";
}
// line 97
echo "
";
}
public function getTemplateName()
{
return "@atoms/05-forms/_form-element.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 143 => 97, 137 => 94, 132 => 93, 130 => 92, 127 => 91, 121 => 88, 118 => 87, 116 => 86, 113 => 85, 107 => 83, 105 => 82, 102 => 81, 96 => 79, 94 => 78, 89 => 76, 86 => 75, 80 => 72, 75 => 71, 73 => 70, 70 => 69, 64 => 67, 62 => 66, 59 => 65, 53 => 63, 51 => 62, 46 => 60, 43 => 59, 41 => 56, 40 => 54, 38 => 51, 36 => 50, 34 => 49, 32 => 48,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for a form element.
*
* Available variables:
* - attributes: HTML attributes for the containing element.
* - errors: (optional) Any errors for this form element, may not be set.
* - prefix: (optional) The form element prefix, may not be set.
* - suffix: (optional) The form element suffix, may not be set.
* - required: The required marker, or empty if the associated form element is
* not required.
* - type: The type of the element.
* - name: The name of the element.
* - label: A rendered label element.
* - label_display: Label display setting. It can have these values:
* - before: The label is output before the element. This is the default.
* The label includes the #title and the required marker, if #required.
* - after: The label is output after the element. For example, this is used
* for radio and checkbox #type elements. If the #title is empty but the
* field is #required, the label will contain only the required marker.
* - invisible: Labels are critical for screen readers to enable them to
* properly navigate through forms but can be visually distracting. This
* property hides the label for everyone except screen readers.
* - attribute: Set the title attribute on the element to create a tooltip but
* output no label element. This is supported only for checkboxes and radios
* in \\Drupal\\Core\\Render\\Element\\CompositeFormElementTrait::preRenderCompositeFormElement().
* It is used where a visual label is not needed, such as a table of
* checkboxes where the row and column provide the context. The tooltip will
* include the title and required marker.
* - description: (optional) A list of description properties containing:
* - content: A description of the form element, may not be set.
* - attributes: (optional) A list of HTML attributes to apply to the
* description content wrapper. Will only be set when description is set.
* - description_display: Description display setting. It can have these values:
* - before: The description is output before the element.
* - after: The description is output after the element. This is the default
* value.
* - invisible: The description is output after the element, hidden visually
* but available to screen readers.
* - disabled: True if the element is disabled.
* - title_display: Title display setting.
*
* @see template_preprocess_form_element()
*/
#}
{#{%#}
{#set classes = [#}
{#'js-form-item',#}
{#'form-item',#}
{#]#}
{#%}#}
{%
set description_classes = [
'form-item__description',
description_display == 'invisible' ? 'visually-hidden',
]
%}
{% if label_display in ['before', 'invisible'] %}
{{ label }}
{% endif %}
{% if prefix is not empty %}
{{ prefix }}
{% endif %}
{% if description_display == 'before' and description.content %}
{{ description.content }}
{% endif %}
{{ children }}
{% if suffix is not empty %}
{{ suffix }}
{% endif %}
{% if label_display == 'after' %}
{{ label }}
{% endif %}
{% if errors %}
{{ errors }}
{% endif %}
{% if description_display in ['after', 'invisible'] and description.content %}
{{ description.content }}
{% endif %}
", "@atoms/05-forms/_form-element.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/01-atoms/05-forms/_form-element.twig");
}
public function checkSecurity()
{
static $tags = ["set" => 54, "if" => 62];
static $filters = [];
static $functions = ["bem" => 60];
try {
$this->sandbox->checkSecurity(
['set', 'if'],
[],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_a7f412bd7b1635bc395547d568a32a44484aee89e0c574240474e7a0acb86ff3', '@atoms/05-forms/_form-element.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('@atoms/05-forms/_form-element.twig', NULL) (Line: 375)
Twig\Template->loadTemplate('@atoms/05-forms/_form-element.twig', 'themes/contrib/emulsify/templates/form/form-element.html.twig', 60) (Line: 43)
__TwigTemplate_d49ba0fb3e61c82885c03fbdfac52054f85b87d0e9d3c41f7b9aece68e015692->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/form/form-element.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('form_element', Array) (Line: 493)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 71)
__TwigTemplate_c955dfa60daccde72a12d5096ebe4b905b3ccb512d87307577d53c0e80cd6c05->block_content(Array, Array) (Line: 214)
Twig\Template->displayBlock('content', Array, Array) (Line: 60)
__TwigTemplate_c955dfa60daccde72a12d5096ebe4b905b3ccb512d87307577d53c0e80cd6c05->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_80ce6ea12d949cb1c48a4e5ef1d4d3108674fc164014aff042b85d0c57d68985->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/block/block.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 105)
__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_form-element-label.html.t_VKJOcy8RIU5NKIwV6iMbnppUt', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/form/form-element-label.html.twig */
class __TwigTemplate_640fb2ec9121724d7194f6b8c4fd3ac5d9d889662d6661038bdf2837bced9021 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 15
$this->loadTemplate("@atoms/05-forms/_form-label.twig", "themes/contrib/emulsify/templates/form/form-element-label.html.twig", 15)->display($context);
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/form/form-element-label.html.twig";
}
public function getDebugInfo()
{
return array ( 32 => 15,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for a form element label.
*
* Available variables:
* - title: The label's text.
* - title_display: Elements title_display setting.
* - required: An indicator for whether the associated form element is required.
* - attributes: A list of HTML attributes for the label.
*
* @see template_preprocess_form_element_label()
*/
#}
{% include \"@atoms/05-forms/_form-label.twig\" %}
", "themes/contrib/emulsify/templates/form/form-element-label.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/form/form-element-label.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 15];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_form-element-label.html.t_VKJOcy8RIU5NKIwV6iMbnppUt', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/form/form-element-label.html.twig */
class __TwigTemplate_640fb2ec9121724d7194f6b8c4fd3ac5d9d889662d6661038bdf2837bced9021 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 15
$this->loadTemplate("@atoms/05-forms/_form-label.twig", "themes/contrib/emulsify/templates/form/form-element-label.html.twig", 15)->display($context);
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/form/form-element-label.html.twig";
}
public function getDebugInfo()
{
return array ( 32 => 15,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for a form element label.
*
* Available variables:
* - title: The label's text.
* - title_display: Elements title_display setting.
* - required: An indicator for whether the associated form element is required.
* - attributes: A list of HTML attributes for the label.
*
* @see template_preprocess_form_element_label()
*/
#}
{% include \"@atoms/05-forms/_form-label.twig\" %}
", "themes/contrib/emulsify/templates/form/form-element-label.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/form/form-element-label.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 15];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_640fb2ec9121724d7194f6b8c4fd3ac5d9d889662d6661038bdf2837bced9021', 'themes/contrib/emulsify/templates/form/form-element-label.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/contrib/emulsify/templates/form/form-element-label.html.twig') (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/form/form-element-label.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('form_element_label', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 54)
__TwigTemplate_a7f412bd7b1635bc395547d568a32a44484aee89e0c574240474e7a0acb86ff3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 43)
__TwigTemplate_d49ba0fb3e61c82885c03fbdfac52054f85b87d0e9d3c41f7b9aece68e015692->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/form/form-element.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('form_element', Array) (Line: 493)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 71)
__TwigTemplate_c955dfa60daccde72a12d5096ebe4b905b3ccb512d87307577d53c0e80cd6c05->block_content(Array, Array) (Line: 214)
Twig\Template->displayBlock('content', Array, Array) (Line: 60)
__TwigTemplate_c955dfa60daccde72a12d5096ebe4b905b3ccb512d87307577d53c0e80cd6c05->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_80ce6ea12d949cb1c48a4e5ef1d4d3108674fc164014aff042b85d0c57d68985->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/block/block.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 105)
__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f__form-label.twig_K23gS4KzfM5B4_dTIcjH2K1f_', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @atoms/05-forms/_form-label.twig */
class __TwigTemplate_275cce9cc2b13773e2ffa75c94ff3317371f53424b4995bf43cb00502d0bb836 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 16
$context["classes"] = [0 => ((( // line 17
($context["title_display"] ?? null) == "after")) ? ("option") : ("")), 1 => (( // line 18
($context["required"] ?? null)) ? ("js-form-required") : ("")), 2 => (( // line 19
($context["required"] ?? null)) ? ("form-required") : ("")), 3 => "form-item__label"];
// line 23
if (( !twig_test_empty(($context["title"] ?? null)) || ($context["required"] ?? null))) {
// line 24
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title"] ?? null)), "html", null, true);
echo "";
}
}
public function getTemplateName()
{
return "@atoms/05-forms/_form-label.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 39 => 24, 37 => 23, 35 => 19, 34 => 18, 33 => 17, 32 => 16,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for a form element label.
*
* Available variables:
* - title: The label's text.
* - title_display: Elements title_display setting.
* - required: An indicator for whether the associated form element is required.
* - attributes: A list of HTML attributes for the label.
*
* @see template_preprocess_form_element_label()
*/
#}
{%
set classes = [
title_display == 'after' ? 'option',
required ? 'js-form-required',
required ? 'form-required',
'form-item__label',
]
%}
{% if title is not empty or required -%}
{{ title }}
{%- endif %}
", "@atoms/05-forms/_form-label.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/01-atoms/05-forms/_form-label.twig");
}
public function checkSecurity()
{
static $tags = ["set" => 16, "if" => 23];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['set', 'if'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f__form-label.twig_K23gS4KzfM5B4_dTIcjH2K1f_', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @atoms/05-forms/_form-label.twig */
class __TwigTemplate_275cce9cc2b13773e2ffa75c94ff3317371f53424b4995bf43cb00502d0bb836 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 16
$context["classes"] = [0 => ((( // line 17
($context["title_display"] ?? null) == "after")) ? ("option") : ("")), 1 => (( // line 18
($context["required"] ?? null)) ? ("js-form-required") : ("")), 2 => (( // line 19
($context["required"] ?? null)) ? ("form-required") : ("")), 3 => "form-item__label"];
// line 23
if (( !twig_test_empty(($context["title"] ?? null)) || ($context["required"] ?? null))) {
// line 24
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title"] ?? null)), "html", null, true);
echo "";
}
}
public function getTemplateName()
{
return "@atoms/05-forms/_form-label.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 39 => 24, 37 => 23, 35 => 19, 34 => 18, 33 => 17, 32 => 16,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for a form element label.
*
* Available variables:
* - title: The label's text.
* - title_display: Elements title_display setting.
* - required: An indicator for whether the associated form element is required.
* - attributes: A list of HTML attributes for the label.
*
* @see template_preprocess_form_element_label()
*/
#}
{%
set classes = [
title_display == 'after' ? 'option',
required ? 'js-form-required',
required ? 'form-required',
'form-item__label',
]
%}
{% if title is not empty or required -%}
{{ title }}
{%- endif %}
", "@atoms/05-forms/_form-label.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/01-atoms/05-forms/_form-label.twig");
}
public function checkSecurity()
{
static $tags = ["set" => 16, "if" => 23];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['set', 'if'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_275cce9cc2b13773e2ffa75c94ff3317371f53424b4995bf43cb00502d0bb836', '@atoms/05-forms/_form-label.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('@atoms/05-forms/_form-label.twig', NULL) (Line: 375)
Twig\Template->loadTemplate('@atoms/05-forms/_form-label.twig', 'themes/contrib/emulsify/templates/form/form-element-label.html.twig', 15) (Line: 32)
__TwigTemplate_640fb2ec9121724d7194f6b8c4fd3ac5d9d889662d6661038bdf2837bced9021->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/form/form-element-label.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('form_element_label', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 54)
__TwigTemplate_a7f412bd7b1635bc395547d568a32a44484aee89e0c574240474e7a0acb86ff3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 43)
__TwigTemplate_d49ba0fb3e61c82885c03fbdfac52054f85b87d0e9d3c41f7b9aece68e015692->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/form/form-element.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('form_element', Array) (Line: 493)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 71)
__TwigTemplate_c955dfa60daccde72a12d5096ebe4b905b3ccb512d87307577d53c0e80cd6c05->block_content(Array, Array) (Line: 214)
Twig\Template->displayBlock('content', Array, Array) (Line: 60)
__TwigTemplate_c955dfa60daccde72a12d5096ebe4b905b3ccb512d87307577d53c0e80cd6c05->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_80ce6ea12d949cb1c48a4e5ef1d4d3108674fc164014aff042b85d0c57d68985->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/block/block.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 105)
__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_input--submit.html.twig__O3vZxskO2EO7ct2isYSOFqM1', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/form/input--submit.html.twig */
class __TwigTemplate_2909c1e4c8e2548f65e4e571f781b8896fab3b840c043f7a6442fc24033f5514 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 13
$this->loadTemplate("@atoms/05-forms/_submit.twig", "themes/contrib/emulsify/templates/form/input--submit.html.twig", 13)->display($context);
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/form/input--submit.html.twig";
}
public function getDebugInfo()
{
return array ( 32 => 13,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @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()
*/
#}
{% include \"@atoms/05-forms/_submit.twig\" %}
", "themes/contrib/emulsify/templates/form/input--submit.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/form/input--submit.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 13];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_input--submit.html.twig__O3vZxskO2EO7ct2isYSOFqM1', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/form/input--submit.html.twig */
class __TwigTemplate_2909c1e4c8e2548f65e4e571f781b8896fab3b840c043f7a6442fc24033f5514 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 13
$this->loadTemplate("@atoms/05-forms/_submit.twig", "themes/contrib/emulsify/templates/form/input--submit.html.twig", 13)->display($context);
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/form/input--submit.html.twig";
}
public function getDebugInfo()
{
return array ( 32 => 13,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @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()
*/
#}
{% include \"@atoms/05-forms/_submit.twig\" %}
", "themes/contrib/emulsify/templates/form/input--submit.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/form/input--submit.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 13];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_2909c1e4c8e2548f65e4e571f781b8896fab3b840c043f7a6442fc24033f5514', 'themes/contrib/emulsify/templates/form/input--submit.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/contrib/emulsify/templates/form/input--submit.html.twig') (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/form/input--submit.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('input__submit', Array) (Line: 493)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 71)
__TwigTemplate_c955dfa60daccde72a12d5096ebe4b905b3ccb512d87307577d53c0e80cd6c05->block_content(Array, Array) (Line: 214)
Twig\Template->displayBlock('content', Array, Array) (Line: 60)
__TwigTemplate_c955dfa60daccde72a12d5096ebe4b905b3ccb512d87307577d53c0e80cd6c05->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_80ce6ea12d949cb1c48a4e5ef1d4d3108674fc164014aff042b85d0c57d68985->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/block/block.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 105)
__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_container.html.twig_hwumKbzTU1Zf1g2rsrNLvkGY7', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* core/themes/stable/templates/form/container.html.twig */
class __TwigTemplate_3da3d9035e83c059af54638ce34062da50db0d1095244448752218980cc91d5d extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 23
$context["classes"] = [0 => (( // line 24
($context["has_parent"] ?? null)) ? ("js-form-wrapper") : ("")), 1 => (( // line 25
($context["has_parent"] ?? null)) ? ("form-wrapper") : (""))];
// line 28
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "core/themes/stable/templates/form/container.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 36 => 28, 34 => 25, 33 => 24, 32 => 23,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override of a container used to wrap child elements.
*
* Used for grouped form items. Can also be used as a theme wrapper for any
* renderable element, to surround it with a and HTML attributes.
* See \\Drupal\\Core\\Render\\Element\\RenderElement for more
* information on the #theme_wrappers render array property, and
* \\Drupal\\Core\\Render\\Element\\container for usage of the container render
* element.
*
* Available variables:
* - attributes: HTML attributes for the containing element.
* - children: The rendered child elements of the container.
* - has_parent: A flag to indicate that the container has one or more parent
containers.
*
* @see template_preprocess_container()
*/
#}
{%
set classes = [
has_parent ? 'js-form-wrapper',
has_parent ? 'form-wrapper',
]
%}
{{ children }}
", "core/themes/stable/templates/form/container.html.twig", "/var/www/peak/docroot/core/themes/stable/templates/form/container.html.twig");
}
public function checkSecurity()
{
static $tags = ["set" => 23];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['set'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_container.html.twig_hwumKbzTU1Zf1g2rsrNLvkGY7', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* core/themes/stable/templates/form/container.html.twig */
class __TwigTemplate_3da3d9035e83c059af54638ce34062da50db0d1095244448752218980cc91d5d extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 23
$context["classes"] = [0 => (( // line 24
($context["has_parent"] ?? null)) ? ("js-form-wrapper") : ("")), 1 => (( // line 25
($context["has_parent"] ?? null)) ? ("form-wrapper") : (""))];
// line 28
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "core/themes/stable/templates/form/container.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 36 => 28, 34 => 25, 33 => 24, 32 => 23,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override of a container used to wrap child elements.
*
* Used for grouped form items. Can also be used as a theme wrapper for any
* renderable element, to surround it with a and HTML attributes.
* See \\Drupal\\Core\\Render\\Element\\RenderElement for more
* information on the #theme_wrappers render array property, and
* \\Drupal\\Core\\Render\\Element\\container for usage of the container render
* element.
*
* Available variables:
* - attributes: HTML attributes for the containing element.
* - children: The rendered child elements of the container.
* - has_parent: A flag to indicate that the container has one or more parent
containers.
*
* @see template_preprocess_container()
*/
#}
{%
set classes = [
has_parent ? 'js-form-wrapper',
has_parent ? 'form-wrapper',
]
%}
{{ children }}
", "core/themes/stable/templates/form/container.html.twig", "/var/www/peak/docroot/core/themes/stable/templates/form/container.html.twig");
}
public function checkSecurity()
{
static $tags = ["set" => 23];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['set'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_3da3d9035e83c059af54638ce34062da50db0d1095244448752218980cc91d5d', 'core/themes/stable/templates/form/container.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('core/themes/stable/templates/form/container.html.twig') (Line: 64)
twig_render_template('core/themes/stable/templates/form/container.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('container', Array) (Line: 493)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 71)
__TwigTemplate_c955dfa60daccde72a12d5096ebe4b905b3ccb512d87307577d53c0e80cd6c05->block_content(Array, Array) (Line: 214)
Twig\Template->displayBlock('content', Array, Array) (Line: 60)
__TwigTemplate_c955dfa60daccde72a12d5096ebe4b905b3ccb512d87307577d53c0e80cd6c05->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_80ce6ea12d949cb1c48a4e5ef1d4d3108674fc164014aff042b85d0c57d68985->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/block/block.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 105)
__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_form.html.twig_yEdqcZUbct8TfVhUBSrljDKI_', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/form/form.html.twig */
class __TwigTemplate_59cabbd1081c51e14adc750a9649bb92edaff304a368e99319747b6c5fc3ba18 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 13
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null)), "html", null, true);
echo " autocomplete=\"never\">
";
// line 14
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/form/form.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 37 => 14, 32 => 13,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for a 'form' element.
*
* Available variables
* - attributes: A list of HTML attributes for the wrapper element.
* - children: The child elements of the form.
*
* @see template_preprocess_form()
*/
#}
{{ children }}
", "themes/contrib/emulsify/templates/form/form.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/form/form.html.twig");
}
public function checkSecurity()
{
static $tags = [];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
[],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_form.html.twig_yEdqcZUbct8TfVhUBSrljDKI_', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/form/form.html.twig */
class __TwigTemplate_59cabbd1081c51e14adc750a9649bb92edaff304a368e99319747b6c5fc3ba18 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 13
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null)), "html", null, true);
echo " autocomplete=\"never\">
";
// line 14
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/form/form.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 37 => 14, 32 => 13,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for a 'form' element.
*
* Available variables
* - attributes: A list of HTML attributes for the wrapper element.
* - children: The child elements of the form.
*
* @see template_preprocess_form()
*/
#}
{{ children }}
", "themes/contrib/emulsify/templates/form/form.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/form/form.html.twig");
}
public function checkSecurity()
{
static $tags = [];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
[],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_59cabbd1081c51e14adc750a9649bb92edaff304a368e99319747b6c5fc3ba18', 'themes/contrib/emulsify/templates/form/form.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/contrib/emulsify/templates/form/form.html.twig') (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/form/form.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('form', Array) (Line: 493)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 71)
__TwigTemplate_c955dfa60daccde72a12d5096ebe4b905b3ccb512d87307577d53c0e80cd6c05->block_content(Array, Array) (Line: 214)
Twig\Template->displayBlock('content', Array, Array) (Line: 60)
__TwigTemplate_c955dfa60daccde72a12d5096ebe4b905b3ccb512d87307577d53c0e80cd6c05->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_80ce6ea12d949cb1c48a4e5ef1d4d3108674fc164014aff042b85d0c57d68985->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/block/block.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 105)
__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_block--system-messages-bl_5wXtD9VsRrW7c0Nor8AyKobBL', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* core/themes/stable/templates/block/block--system-messages-block.html.twig */
class __TwigTemplate_ce5093d3a1ab5335067cda0dc9a1685df817587ef39322746deec8c4230b8353 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 13
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "core/themes/stable/templates/block/block--system-messages-block.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 32 => 13,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for the messages block.
*
* Removes wrapper elements from block so that empty block does not appear when
* there are no messages.
*
* Available variables:
* - content: The content of this block.
*/
#}
{{ content }}
", "core/themes/stable/templates/block/block--system-messages-block.html.twig", "/var/www/peak/docroot/core/themes/stable/templates/block/block--system-messages-block.html.twig");
}
public function checkSecurity()
{
static $tags = [];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
[],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_block--system-messages-bl_5wXtD9VsRrW7c0Nor8AyKobBL', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* core/themes/stable/templates/block/block--system-messages-block.html.twig */
class __TwigTemplate_ce5093d3a1ab5335067cda0dc9a1685df817587ef39322746deec8c4230b8353 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 13
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "core/themes/stable/templates/block/block--system-messages-block.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 32 => 13,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for the messages block.
*
* Removes wrapper elements from block so that empty block does not appear when
* there are no messages.
*
* Available variables:
* - content: The content of this block.
*/
#}
{{ content }}
", "core/themes/stable/templates/block/block--system-messages-block.html.twig", "/var/www/peak/docroot/core/themes/stable/templates/block/block--system-messages-block.html.twig");
}
public function checkSecurity()
{
static $tags = [];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
[],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_ce5093d3a1ab5335067cda0dc9a1685df817587ef39322746deec8c4230b8353', 'core/themes/stable/templates/block/block--system-messages-block.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('core/themes/stable/templates/block/block--system-messages-block.html.twig') (Line: 64)
twig_render_template('core/themes/stable/templates/block/block--system-messages-block.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 105)
__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_region.html.twig_qMmnr8C3ndDNck2KhUgSKTAfe', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* core/themes/stable/templates/layout/region.html.twig */
class __TwigTemplate_51e7c271c6701c578ba0a4385ee8156801018d33191885d63deda31b3157f279 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 15
if (($context["content"] ?? null)) {
// line 16
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null)), "html", null, true);
echo ">
";
// line 17
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true);
echo "
";
}
}
public function getTemplateName()
{
return "core/themes/stable/templates/layout/region.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 39 => 17, 34 => 16, 32 => 15,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override to display a region.
*
* Available variables:
* - content: The content for this region, typically blocks.
* - attributes: HTML attributes for the region div.
* - region: The name of the region variable as defined in the theme's
* .info.yml file.
*
* @see template_preprocess_region()
*/
#}
{% if content %}
{{ content }}
{% endif %}
", "core/themes/stable/templates/layout/region.html.twig", "/var/www/peak/docroot/core/themes/stable/templates/layout/region.html.twig");
}
public function checkSecurity()
{
static $tags = ["if" => 15];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['if'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_region.html.twig_qMmnr8C3ndDNck2KhUgSKTAfe', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* core/themes/stable/templates/layout/region.html.twig */
class __TwigTemplate_51e7c271c6701c578ba0a4385ee8156801018d33191885d63deda31b3157f279 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 15
if (($context["content"] ?? null)) {
// line 16
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["attributes"] ?? null)), "html", null, true);
echo ">
";
// line 17
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true);
echo "
";
}
}
public function getTemplateName()
{
return "core/themes/stable/templates/layout/region.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 39 => 17, 34 => 16, 32 => 15,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override to display a region.
*
* Available variables:
* - content: The content for this region, typically blocks.
* - attributes: HTML attributes for the region div.
* - region: The name of the region variable as defined in the theme's
* .info.yml file.
*
* @see template_preprocess_region()
*/
#}
{% if content %}
{{ content }}
{% endif %}
", "core/themes/stable/templates/layout/region.html.twig", "/var/www/peak/docroot/core/themes/stable/templates/layout/region.html.twig");
}
public function checkSecurity()
{
static $tags = ["if" => 15];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['if'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_51e7c271c6701c578ba0a4385ee8156801018d33191885d63deda31b3157f279', 'core/themes/stable/templates/layout/region.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('core/themes/stable/templates/layout/region.html.twig') (Line: 64)
twig_render_template('core/themes/stable/templates/layout/region.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('region', Array) (Line: 493)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 105)
__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_field--text-with-summary._rHP_WLxURnGXbx73aRJx-0Rcd', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/fields/field--text-with-summary.html.twig */
class __TwigTemplate_633ae3270f437df76b2c058877072f9d666a3b809b417c43fa050e026f83484a extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 41
echo "
";
// line 42
$this->loadTemplate("@atoms/_field-wysiwyg.twig", "themes/contrib/emulsify/templates/fields/field--text-with-summary.html.twig", 42)->display($context);
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/fields/field--text-with-summary.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 35 => 42, 32 => 41,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for a field.
*
* To override output, copy the \"field.html.twig\" from the templates directory
* to your theme's directory and customize it, just like customizing other
* Drupal templates such as page.html.twig or node.html.twig.
*
* Instead of overriding the theming for all fields, you can also just override
* theming for a subset of fields using
* @link themeable Theme hook suggestions. @endlink For example,
* here are some theme hook suggestions that can be used for a field_foo field
* on an article node type:
* - field--node--field-foo--article.html.twig
* - field--node--field-foo.html.twig
* - field--node--article.html.twig
* - field--field-foo.html.twig
* - field--text-with-summary.html.twig
* - field.html.twig
*
* Available variables:
* - attributes: HTML attributes for the containing element.
* - label_hidden: Whether to show the field label or not.
* - title_attributes: HTML attributes for the title.
* - label: The label for the field.
* - multiple: TRUE if a field can contain multiple items.
* - items: List of all the field items. Each item contains:
* - attributes: List of HTML attributes for each item.
* - content: The field item's content.
* - entity_type: The entity type to which the field belongs.
* - field_name: The name of the field.
* - field_type: The type of the field.
* - label_display: The display settings for the label.
*
* @see template_preprocess_field()
*/
@TODO: THIS CAN BE REMOVED IF WYWSIWYG BEM CLASSES CAN BE APPLIED
#}
{% include \"@atoms/_field-wysiwyg.twig\" %}
", "themes/contrib/emulsify/templates/fields/field--text-with-summary.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/fields/field--text-with-summary.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 42];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_field--text-with-summary._rHP_WLxURnGXbx73aRJx-0Rcd', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/fields/field--text-with-summary.html.twig */
class __TwigTemplate_633ae3270f437df76b2c058877072f9d666a3b809b417c43fa050e026f83484a extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 41
echo "
";
// line 42
$this->loadTemplate("@atoms/_field-wysiwyg.twig", "themes/contrib/emulsify/templates/fields/field--text-with-summary.html.twig", 42)->display($context);
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/fields/field--text-with-summary.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 35 => 42, 32 => 41,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for a field.
*
* To override output, copy the \"field.html.twig\" from the templates directory
* to your theme's directory and customize it, just like customizing other
* Drupal templates such as page.html.twig or node.html.twig.
*
* Instead of overriding the theming for all fields, you can also just override
* theming for a subset of fields using
* @link themeable Theme hook suggestions. @endlink For example,
* here are some theme hook suggestions that can be used for a field_foo field
* on an article node type:
* - field--node--field-foo--article.html.twig
* - field--node--field-foo.html.twig
* - field--node--article.html.twig
* - field--field-foo.html.twig
* - field--text-with-summary.html.twig
* - field.html.twig
*
* Available variables:
* - attributes: HTML attributes for the containing element.
* - label_hidden: Whether to show the field label or not.
* - title_attributes: HTML attributes for the title.
* - label: The label for the field.
* - multiple: TRUE if a field can contain multiple items.
* - items: List of all the field items. Each item contains:
* - attributes: List of HTML attributes for each item.
* - content: The field item's content.
* - entity_type: The entity type to which the field belongs.
* - field_name: The name of the field.
* - field_type: The type of the field.
* - label_display: The display settings for the label.
*
* @see template_preprocess_field()
*/
@TODO: THIS CAN BE REMOVED IF WYWSIWYG BEM CLASSES CAN BE APPLIED
#}
{% include \"@atoms/_field-wysiwyg.twig\" %}
", "themes/contrib/emulsify/templates/fields/field--text-with-summary.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/fields/field--text-with-summary.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 42];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_633ae3270f437df76b2c058877072f9d666a3b809b417c43fa050e026f83484a', 'themes/contrib/emulsify/templates/fields/field--text-with-summary.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/contrib/emulsify/templates/fields/field--text-with-summary.html.twig') (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/fields/field--text-with-summary.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 71)
__TwigTemplate_c955dfa60daccde72a12d5096ebe4b905b3ccb512d87307577d53c0e80cd6c05->block_content(Array, Array) (Line: 214)
Twig\Template->displayBlock('content', Array, Array) (Line: 60)
__TwigTemplate_c955dfa60daccde72a12d5096ebe4b905b3ccb512d87307577d53c0e80cd6c05->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_80ce6ea12d949cb1c48a4e5ef1d4d3108674fc164014aff042b85d0c57d68985->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/block/block.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 117)
__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f__field-wysiwyg.twig_b1LsUIP1LYwyx5MvGZ9B25SrZ', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @atoms/_field-wysiwyg.twig */
class __TwigTemplate_607484acba847bfb9423277c4eae81249548d5099e1517f8d59d979a496d10af extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 41
echo "
";
// line 42
if (($context["label_hidden"] ?? null)) {
// line 43
echo " ";
if (($context["multiple"] ?? null)) {
// line 44
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => "text-long"], "method")), "html", null, true);
echo ">
";
// line 45
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 46
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "attributes", [])), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 48
echo "
";
} else {
// line 50
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 51
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => "text-long"], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 53
echo " ";
}
} else {
// line 55
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => "text-long"], "method")), "html", null, true);
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_attributes"] ?? null)), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null)), "html", null, true);
echo "
";
// line 57
if (($context["multiple"] ?? null)) {
// line 58
echo "
";
}
// line 60
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 61
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "attributes", [])), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 63
echo " ";
if (($context["multiple"] ?? null)) {
// line 64
echo "
";
}
// line 66
echo "
";
}
}
public function getTemplateName()
{
return "@atoms/_field-wysiwyg.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 124 => 66, 120 => 64, 117 => 63, 106 => 61, 101 => 60, 97 => 58, 95 => 57, 89 => 56, 84 => 55, 80 => 53, 69 => 51, 64 => 50, 60 => 48, 49 => 46, 45 => 45, 40 => 44, 37 => 43, 35 => 42, 32 => 41,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for a field.
*
* To override output, copy the \"field.html.twig\" from the templates directory
* to your theme's directory and customize it, just like customizing other
* Drupal templates such as page.html.twig or node.html.twig.
*
* Instead of overriding the theming for all fields, you can also just override
* theming for a subset of fields using
* @link themeable Theme hook suggestions. @endlink For example,
* here are some theme hook suggestions that can be used for a field_foo field
* on an article node type:
* - field--node--field-foo--article.html.twig
* - field--node--field-foo.html.twig
* - field--node--article.html.twig
* - field--field-foo.html.twig
* - field--text-with-summary.html.twig
* - field.html.twig
*
* Available variables:
* - attributes: HTML attributes for the containing element.
* - label_hidden: Whether to show the field label or not.
* - title_attributes: HTML attributes for the title.
* - label: The label for the field.
* - multiple: TRUE if a field can contain multiple items.
* - items: List of all the field items. Each item contains:
* - attributes: List of HTML attributes for each item.
* - content: The field item's content.
* - entity_type: The entity type to which the field belongs.
* - field_name: The name of the field.
* - field_type: The type of the field.
* - label_display: The display settings for the label.
*
* @see template_preprocess_field()
*/
@TODO: THIS CAN BE REMOVED IF BEM CLASSES CAN BE APPLIED IN WYSIWYG
#}
{% if label_hidden %}
{% if multiple %}
{% for item in items %}
{{ item.content }}
{% endfor %}
{% else %}
{% for item in items %}
{{ item.content }}
{% endfor %}
{% endif %}
{% else %}
{{ label }}
{% if multiple %}
{% endif %}
{% for item in items %}
{{ item.content }}
{% endfor %}
{% if multiple %}
{% endif %}
{% endif %}
", "@atoms/_field-wysiwyg.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/01-atoms/_field-wysiwyg.twig");
}
public function checkSecurity()
{
static $tags = ["if" => 42, "for" => 45];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['if', 'for'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f__field-wysiwyg.twig_b1LsUIP1LYwyx5MvGZ9B25SrZ', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @atoms/_field-wysiwyg.twig */
class __TwigTemplate_607484acba847bfb9423277c4eae81249548d5099e1517f8d59d979a496d10af extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 41
echo "
";
// line 42
if (($context["label_hidden"] ?? null)) {
// line 43
echo " ";
if (($context["multiple"] ?? null)) {
// line 44
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => "text-long"], "method")), "html", null, true);
echo ">
";
// line 45
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 46
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "attributes", [])), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 48
echo "
";
} else {
// line 50
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 51
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => "text-long"], "method")), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 53
echo " ";
}
} else {
// line 55
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["attributes"] ?? null), "addClass", [0 => "text-long"], "method")), "html", null, true);
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_attributes"] ?? null)), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null)), "html", null, true);
echo "
";
// line 57
if (($context["multiple"] ?? null)) {
// line 58
echo "
";
}
// line 60
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 61
echo " env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "attributes", [])), "html", null, true);
echo ">";
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed($this->getAttribute($context["item"], "content", [])), "html", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 63
echo " ";
if (($context["multiple"] ?? null)) {
// line 64
echo "
";
}
// line 66
echo "
";
}
}
public function getTemplateName()
{
return "@atoms/_field-wysiwyg.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 124 => 66, 120 => 64, 117 => 63, 106 => 61, 101 => 60, 97 => 58, 95 => 57, 89 => 56, 84 => 55, 80 => 53, 69 => 51, 64 => 50, 60 => 48, 49 => 46, 45 => 45, 40 => 44, 37 => 43, 35 => 42, 32 => 41,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for a field.
*
* To override output, copy the \"field.html.twig\" from the templates directory
* to your theme's directory and customize it, just like customizing other
* Drupal templates such as page.html.twig or node.html.twig.
*
* Instead of overriding the theming for all fields, you can also just override
* theming for a subset of fields using
* @link themeable Theme hook suggestions. @endlink For example,
* here are some theme hook suggestions that can be used for a field_foo field
* on an article node type:
* - field--node--field-foo--article.html.twig
* - field--node--field-foo.html.twig
* - field--node--article.html.twig
* - field--field-foo.html.twig
* - field--text-with-summary.html.twig
* - field.html.twig
*
* Available variables:
* - attributes: HTML attributes for the containing element.
* - label_hidden: Whether to show the field label or not.
* - title_attributes: HTML attributes for the title.
* - label: The label for the field.
* - multiple: TRUE if a field can contain multiple items.
* - items: List of all the field items. Each item contains:
* - attributes: List of HTML attributes for each item.
* - content: The field item's content.
* - entity_type: The entity type to which the field belongs.
* - field_name: The name of the field.
* - field_type: The type of the field.
* - label_display: The display settings for the label.
*
* @see template_preprocess_field()
*/
@TODO: THIS CAN BE REMOVED IF BEM CLASSES CAN BE APPLIED IN WYSIWYG
#}
{% if label_hidden %}
{% if multiple %}
{% for item in items %}
{{ item.content }}
{% endfor %}
{% else %}
{% for item in items %}
{{ item.content }}
{% endfor %}
{% endif %}
{% else %}
{{ label }}
{% if multiple %}
{% endif %}
{% for item in items %}
{{ item.content }}
{% endfor %}
{% if multiple %}
{% endif %}
{% endif %}
", "@atoms/_field-wysiwyg.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/01-atoms/_field-wysiwyg.twig");
}
public function checkSecurity()
{
static $tags = ["if" => 42, "for" => 45];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['if', 'for'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_607484acba847bfb9423277c4eae81249548d5099e1517f8d59d979a496d10af', '@atoms/_field-wysiwyg.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('@atoms/_field-wysiwyg.twig', NULL) (Line: 375)
Twig\Template->loadTemplate('@atoms/_field-wysiwyg.twig', 'themes/contrib/emulsify/templates/fields/field--text-with-summary.html.twig', 42) (Line: 35)
__TwigTemplate_633ae3270f437df76b2c058877072f9d666a3b809b417c43fa050e026f83484a->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/fields/field--text-with-summary.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 71)
__TwigTemplate_c955dfa60daccde72a12d5096ebe4b905b3ccb512d87307577d53c0e80cd6c05->block_content(Array, Array) (Line: 214)
Twig\Template->displayBlock('content', Array, Array) (Line: 60)
__TwigTemplate_c955dfa60daccde72a12d5096ebe4b905b3ccb512d87307577d53c0e80cd6c05->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_80ce6ea12d949cb1c48a4e5ef1d4d3108674fc164014aff042b85d0c57d68985->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/block/block.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 117)
__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_menu.html.twig_XpmKHTlS0usfJk9BOWTHykndg', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/navigation/menu.html.twig */
class __TwigTemplate_cea58b73fdf1f663007f8aceda10a1619b27d5522ff385d8bf4429a4926538fa extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 22
$this->loadTemplate("@molecules/menus/_menu.twig", "themes/contrib/emulsify/templates/navigation/menu.html.twig", 22)->display($context);
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/navigation/menu.html.twig";
}
public function getDebugInfo()
{
return array ( 32 => 22,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override to display a menu.
*
* Available variables:
* - menu_name: The machine name of the menu.
* - items: A nested list of menu items. Each menu item contains:
* - attributes: HTML attributes for the menu item.
* - below: The menu item child items.
* - title: The menu link title.
* - url: The menu link url, instance of \\Drupal\\Core\\Url
* - localized_options: Menu link localized options.
* - is_expanded: TRUE if the link has visible children within the current
* menu tree.
* - is_collapsed: TRUE if the link has children within the current menu tree
* that are not currently visible.
* - in_active_trail: TRUE if the link is in the active trail.
* - menu_image: Menu image need to be created. @TODO - create menu image
*/
#}
{% include \"@molecules/menus/_menu.twig\" %}
", "themes/contrib/emulsify/templates/navigation/menu.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/navigation/menu.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 22];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_menu.html.twig_XpmKHTlS0usfJk9BOWTHykndg', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/navigation/menu.html.twig */
class __TwigTemplate_cea58b73fdf1f663007f8aceda10a1619b27d5522ff385d8bf4429a4926538fa extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 22
$this->loadTemplate("@molecules/menus/_menu.twig", "themes/contrib/emulsify/templates/navigation/menu.html.twig", 22)->display($context);
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/navigation/menu.html.twig";
}
public function getDebugInfo()
{
return array ( 32 => 22,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override to display a menu.
*
* Available variables:
* - menu_name: The machine name of the menu.
* - items: A nested list of menu items. Each menu item contains:
* - attributes: HTML attributes for the menu item.
* - below: The menu item child items.
* - title: The menu link title.
* - url: The menu link url, instance of \\Drupal\\Core\\Url
* - localized_options: Menu link localized options.
* - is_expanded: TRUE if the link has visible children within the current
* menu tree.
* - is_collapsed: TRUE if the link has children within the current menu tree
* that are not currently visible.
* - in_active_trail: TRUE if the link is in the active trail.
* - menu_image: Menu image need to be created. @TODO - create menu image
*/
#}
{% include \"@molecules/menus/_menu.twig\" %}
", "themes/contrib/emulsify/templates/navigation/menu.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/navigation/menu.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 22];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_cea58b73fdf1f663007f8aceda10a1619b27d5522ff385d8bf4429a4926538fa', 'themes/contrib/emulsify/templates/navigation/menu.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/contrib/emulsify/templates/navigation/menu.html.twig') (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/navigation/menu.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('menu', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 79)
__TwigTemplate_26746b546d2a6a639efffa35c97c47e20419bae59ee6802208974db9fa4f3d5e->block_content(Array, Array) (Line: 214)
Twig\Template->displayBlock('content', Array, Array) (Line: 68)
__TwigTemplate_26746b546d2a6a639efffa35c97c47e20419bae59ee6802208974db9fa4f3d5e->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('core/themes/stable/templates/block/block--system-menu-block.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 117)
__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_menu--social-links.html.t_eZEUzGR2lLcfbWSwhFzEHFpdM', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/navigation/menu--social-links.html.twig */
class __TwigTemplate_a6567d55ff41bdcb1268f5e0515e231ac64ee21d075a9b8a229c9a1855569cdf extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 22
$this->loadTemplate("@molecules/menus/_menu.twig", "themes/contrib/emulsify/templates/navigation/menu--social-links.html.twig", 22)->display(twig_array_merge($context, ["menu_blockname" => "social-link", "icon_menu" => true]));
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/navigation/menu--social-links.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 32 => 22,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override to display a menu.
*
* Available variables:
* - menu_name: The machine name of the menu.
* - items: A nested list of menu items. Each menu item contains:
* - attributes: HTML attributes for the menu item.
* - below: The menu item child items.
* - title: The menu link title.
* - url: The menu link url, instance of \\Drupal\\Core\\Url
* - localized_options: Menu link localized options.
* - is_expanded: TRUE if the link has visible children within the current
* menu tree.
* - is_collapsed: TRUE if the link has children within the current menu tree
* that are not currently visible.
* - in_active_trail: TRUE if the link is in the active trail.
* - menu_image: Menu image need to be created. @TODO - create menu image
*/
#}
{% include \"@molecules/menus/_menu.twig\" with {
menu_blockname: 'social-link',
icon_menu: true
} %}
", "themes/contrib/emulsify/templates/navigation/menu--social-links.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/navigation/menu--social-links.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 22];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_menu--social-links.html.t_eZEUzGR2lLcfbWSwhFzEHFpdM', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/navigation/menu--social-links.html.twig */
class __TwigTemplate_a6567d55ff41bdcb1268f5e0515e231ac64ee21d075a9b8a229c9a1855569cdf extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 22
$this->loadTemplate("@molecules/menus/_menu.twig", "themes/contrib/emulsify/templates/navigation/menu--social-links.html.twig", 22)->display(twig_array_merge($context, ["menu_blockname" => "social-link", "icon_menu" => true]));
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/navigation/menu--social-links.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 32 => 22,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override to display a menu.
*
* Available variables:
* - menu_name: The machine name of the menu.
* - items: A nested list of menu items. Each menu item contains:
* - attributes: HTML attributes for the menu item.
* - below: The menu item child items.
* - title: The menu link title.
* - url: The menu link url, instance of \\Drupal\\Core\\Url
* - localized_options: Menu link localized options.
* - is_expanded: TRUE if the link has visible children within the current
* menu tree.
* - is_collapsed: TRUE if the link has children within the current menu tree
* that are not currently visible.
* - in_active_trail: TRUE if the link is in the active trail.
* - menu_image: Menu image need to be created. @TODO - create menu image
*/
#}
{% include \"@molecules/menus/_menu.twig\" with {
menu_blockname: 'social-link',
icon_menu: true
} %}
", "themes/contrib/emulsify/templates/navigation/menu--social-links.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/navigation/menu--social-links.html.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 22];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['include'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_a6567d55ff41bdcb1268f5e0515e231ac64ee21d075a9b8a229c9a1855569cdf', 'themes/contrib/emulsify/templates/navigation/menu--social-links.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/contrib/emulsify/templates/navigation/menu--social-links.html.twig') (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/navigation/menu--social-links.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('menu__social_links', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 79)
__TwigTemplate_26746b546d2a6a639efffa35c97c47e20419bae59ee6802208974db9fa4f3d5e->block_content(Array, Array) (Line: 214)
Twig\Template->displayBlock('content', Array, Array) (Line: 68)
__TwigTemplate_26746b546d2a6a639efffa35c97c47e20419bae59ee6802208974db9fa4f3d5e->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('core/themes/stable/templates/block/block--system-menu-block.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 117)
__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_region--footer.html.twig_H1ygnVcJjmZuecmQx57PMnoOQ', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/layout/region--footer.html.twig */
class __TwigTemplate_c756248380c104d57e2d5df67bb74035e20563dcdd54c017d66e1a644afeb73f extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 15
return "@organisms/site/site-footer/site-footer.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->parent = $this->loadTemplate("@organisms/site/site-footer/site-footer.twig", "themes/contrib/emulsify/templates/layout/region--footer.html.twig", 15);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/layout/region--footer.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 30 => 15,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override to display a region.
*
* Available variables:
* - content: The content for this region, typically blocks.
* - attributes: HTML attributes for the region div.
* - region: The name of the region variable as defined in the theme's
* .info.yml file.
*
* @see template_preprocess_region()
*/
#}
{% extends \"@organisms/site/site-footer/site-footer.twig\" %}
", "themes/contrib/emulsify/templates/layout/region--footer.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/layout/region--footer.html.twig");
}
public function checkSecurity()
{
static $tags = [];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
[],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_region--footer.html.twig_H1ygnVcJjmZuecmQx57PMnoOQ', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/emulsify/templates/layout/region--footer.html.twig */
class __TwigTemplate_c756248380c104d57e2d5df67bb74035e20563dcdd54c017d66e1a644afeb73f extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 15
return "@organisms/site/site-footer/site-footer.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->parent = $this->loadTemplate("@organisms/site/site-footer/site-footer.twig", "themes/contrib/emulsify/templates/layout/region--footer.html.twig", 15);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
public function getTemplateName()
{
return "themes/contrib/emulsify/templates/layout/region--footer.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 30 => 15,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override to display a region.
*
* Available variables:
* - content: The content for this region, typically blocks.
* - attributes: HTML attributes for the region div.
* - region: The name of the region variable as defined in the theme's
* .info.yml file.
*
* @see template_preprocess_region()
*/
#}
{% extends \"@organisms/site/site-footer/site-footer.twig\" %}
", "themes/contrib/emulsify/templates/layout/region--footer.html.twig", "/var/www/peak/docroot/themes/contrib/emulsify/templates/layout/region--footer.html.twig");
}
public function checkSecurity()
{
static $tags = [];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
[],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_c756248380c104d57e2d5df67bb74035e20563dcdd54c017d66e1a644afeb73f', 'themes/contrib/emulsify/templates/layout/region--footer.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('themes/contrib/emulsify/templates/layout/region--footer.html.twig') (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/region--footer.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('region', Array) (Line: 493)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 117)
__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_site-footer.twig_TY0cugBCGK6mQtxLP2be0R8qp', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @organisms/site/site-footer/site-footer.twig */
class __TwigTemplate_3dd0f4d91f230138f0ee9623c4333d10ed7a32d36c4d78a1e9e8e40c0b738d85 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "footer"]));
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "content", [], "footer"]));
echo ">
";
// line 8
echo "
";
// line 9
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "@organisms/site/site-footer/site-footer.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 44 => 9, 41 => 8, 37 => 2, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("
{# {% include \"@atoms/06-buttons/01-button.twig\" with {
\"button_url\": \"#\",
\"button_content\": \"Join Mailing List\",
\"button_modifiers\": [\"dark\", \"mailing-list\"]
} %} #}
{{ content }}
", "@organisms/site/site-footer/site-footer.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/03-organisms/site/site-footer/site-footer.twig");
}
public function checkSecurity()
{
static $tags = [];
static $filters = [];
static $functions = ["bem" => 1];
try {
$this->sandbox->checkSecurity(
[],
[],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_site-footer.twig_TY0cugBCGK6mQtxLP2be0R8qp', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @organisms/site/site-footer/site-footer.twig */
class __TwigTemplate_3dd0f4d91f230138f0ee9623c4333d10ed7a32d36c4d78a1e9e8e40c0b738d85 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "footer"]));
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "content", [], "footer"]));
echo ">
";
// line 8
echo "
";
// line 9
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "@organisms/site/site-footer/site-footer.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 44 => 9, 41 => 8, 37 => 2, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("
{# {% include \"@atoms/06-buttons/01-button.twig\" with {
\"button_url\": \"#\",
\"button_content\": \"Join Mailing List\",
\"button_modifiers\": [\"dark\", \"mailing-list\"]
} %} #}
{{ content }}
", "@organisms/site/site-footer/site-footer.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/03-organisms/site/site-footer/site-footer.twig");
}
public function checkSecurity()
{
static $tags = [];
static $filters = [];
static $functions = ["bem" => 1];
try {
$this->sandbox->checkSecurity(
[],
[],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_3dd0f4d91f230138f0ee9623c4333d10ed7a32d36c4d78a1e9e8e40c0b738d85', '@organisms/site/site-footer/site-footer.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('@organisms/site/site-footer/site-footer.twig', NULL) (Line: 375)
Twig\Template->loadTemplate('@organisms/site/site-footer/site-footer.twig', 'themes/contrib/emulsify/templates/layout/region--footer.html.twig', 15) (Line: 35)
__TwigTemplate_c756248380c104d57e2d5df67bb74035e20563dcdd54c017d66e1a644afeb73f->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/region--footer.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('region', Array) (Line: 493)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 117)
__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_modal.twig_vHddDdjq6prXnYi4olb0yCXJi', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @organisms/modal/modal.twig */
class __TwigTemplate_3757df60b98f7eefb838100ed84d1fb2e622d188cac3c20336d1544320d2db45 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "modal", [], "main-content"]));
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "container", [], "modal"]));
echo ">
<a>env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "close", [], "modal"]));
echo ">
";
// line 4
$this->loadTemplate("@atoms/04-images/icon.twig", "@organisms/modal/modal.twig", 4)->display(twig_array_merge($context, ["icon" => "close", "width" => "100%", "height" => "100%"]));
// line 9
echo " </a>
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "messages", [], "modal"]));
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "content", [], "modal"]));
echo ">
";
}
public function getTemplateName()
{
return "@organisms/modal/modal.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 54 => 11, 50 => 10, 47 => 9, 45 => 4, 41 => 3, 37 => 2, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("
<a>
{% include \"@atoms/04-images/icon.twig\" with {
icon: \"close\",
width: \"100%\",
height: \"100%\"
} %}
</a>
", "@organisms/modal/modal.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/03-organisms/modal/modal.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 4];
static $filters = [];
static $functions = ["bem" => 1];
try {
$this->sandbox->checkSecurity(
['include'],
[],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_modal.twig_vHddDdjq6prXnYi4olb0yCXJi', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @organisms/modal/modal.twig */
class __TwigTemplate_3757df60b98f7eefb838100ed84d1fb2e622d188cac3c20336d1544320d2db45 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo "env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "modal", [], "main-content"]));
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "container", [], "modal"]));
echo ">
<a>env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "close", [], "modal"]));
echo ">
";
// line 4
$this->loadTemplate("@atoms/04-images/icon.twig", "@organisms/modal/modal.twig", 4)->display(twig_array_merge($context, ["icon" => "close", "width" => "100%", "height" => "100%"]));
// line 9
echo " </a>
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "messages", [], "modal"]));
echo ">
env->getExtension('Drupal\Core\Template\TwigExtension')->renderVar(call_user_func_array($this->env->getFunction('bem')->getCallable(), [$context, "content", [], "modal"]));
echo ">
";
}
public function getTemplateName()
{
return "@organisms/modal/modal.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 54 => 11, 50 => 10, 47 => 9, 45 => 4, 41 => 3, 37 => 2, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("
<a>
{% include \"@atoms/04-images/icon.twig\" with {
icon: \"close\",
width: \"100%\",
height: \"100%\"
} %}
</a>
", "@organisms/modal/modal.twig", "/var/www/peak/docroot/themes/contrib/emulsify/components/_patterns/03-organisms/modal/modal.twig");
}
public function checkSecurity()
{
static $tags = ["include" => 4];
static $filters = [];
static $functions = ["bem" => 1];
try {
$this->sandbox->checkSecurity(
['include'],
[],
['bem']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_3757df60b98f7eefb838100ed84d1fb2e622d188cac3c20336d1544320d2db45', '@organisms/modal/modal.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('@organisms/modal/modal.twig', NULL) (Line: 375)
Twig\Template->loadTemplate('@organisms/modal/modal.twig', '@pages/_page.twig', 84) (Line: 126)
__TwigTemplate_92c7a21b2aa342596f1cc908ea4a7be7d90d52b0a3a2071c1552b055c2e0f592->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_552fd8bc0df0f324a90a4a742bfb0deab1e5ae1355c0cd82229786a0986e717d->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 173 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 154)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 120)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('6274b7e1d094f_off-canvas-page-wrapper.h_wJSEaKimkgkz4dwy20QmT9uxc', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* core/themes/stable/templates/content/off-canvas-page-wrapper.html.twig */
class __TwigTemplate_c8cdcb1b9d627333c851ee671a81a85754f59690ea010ec495112c843d53041a extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 20
if (($context["children"] ?? null)) {
// line 21
echo "
";
// line 22
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null)), "html", null, true);
echo "
";
}
}
public function getTemplateName()
{
return "core/themes/stable/templates/content/off-canvas-page-wrapper.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 37 => 22, 34 => 21, 32 => 20,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for page wrapper.
*
* For consistent wrapping to {{ page }} render in all themes. The
* \"data-off-canvas-main-canvas\" attribute is required by the off-canvas dialog.
* This is used by the core/drupal.dialog.off_canvas library to select the
* \"main canvas\" page element as opposed to the \"off canvas\" which is the dialog
* itself. The \"main canvas\" element must be resized according to the width of
* the \"off canvas\" dialog so that no portion of the \"main canvas\" is obstructed
* by the off-canvas dialog. The off-canvas dialog can vary in width when opened
* and can be resized by the user. The \"data-off-canvas-main-canvas\" attribute
* cannot be removed without breaking the off-canvas dialog functionality.
*
* Available variables:
* - children: Contains the child elements of the page.
*/
#}
{% if children %}
{{ children }}
{% endif %}
", "core/themes/stable/templates/content/off-canvas-page-wrapper.html.twig", "/var/www/peak/docroot/core/themes/stable/templates/content/off-canvas-page-wrapper.html.twig");
}
public function checkSecurity()
{
static $tags = ["if" => 20];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['if'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 111)
Drupal\Core\Template\TwigPhpStorageCache->write('6274b7e1d094f_off-canvas-page-wrapper.h_wJSEaKimkgkz4dwy20QmT9uxc', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* core/themes/stable/templates/content/off-canvas-page-wrapper.html.twig */
class __TwigTemplate_c8cdcb1b9d627333c851ee671a81a85754f59690ea010ec495112c843d53041a extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 20
if (($context["children"] ?? null)) {
// line 21
echo "
";
// line 22
echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null)), "html", null, true);
echo "
";
}
}
public function getTemplateName()
{
return "core/themes/stable/templates/content/off-canvas-page-wrapper.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 37 => 22, 34 => 21, 32 => 20,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for page wrapper.
*
* For consistent wrapping to {{ page }} render in all themes. The
* \"data-off-canvas-main-canvas\" attribute is required by the off-canvas dialog.
* This is used by the core/drupal.dialog.off_canvas library to select the
* \"main canvas\" page element as opposed to the \"off canvas\" which is the dialog
* itself. The \"main canvas\" element must be resized according to the width of
* the \"off canvas\" dialog so that no portion of the \"main canvas\" is obstructed
* by the off-canvas dialog. The off-canvas dialog can vary in width when opened
* and can be resized by the user. The \"data-off-canvas-main-canvas\" attribute
* cannot be removed without breaking the off-canvas dialog functionality.
*
* Available variables:
* - children: Contains the child elements of the page.
*/
#}
{% if children %}
{{ children }}
{% endif %}
", "core/themes/stable/templates/content/off-canvas-page-wrapper.html.twig", "/var/www/peak/docroot/core/themes/stable/templates/content/off-canvas-page-wrapper.html.twig");
}
public function checkSecurity()
{
static $tags = ["if" => 20];
static $filters = [];
static $functions = [];
try {
$this->sandbox->checkSecurity(
['if'],
[],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->getSourceContext());
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 487)
Twig\Environment->loadClass('__TwigTemplate_c8cdcb1b9d627333c851ee671a81a85754f59690ea010ec495112c843d53041a', 'core/themes/stable/templates/content/off-canvas-page-wrapper.html.twig', NULL) (Line: 445)
Twig\Environment->loadTemplate('core/themes/stable/templates/content/off-canvas-page-wrapper.html.twig') (Line: 64)
twig_render_template('core/themes/stable/templates/content/off-canvas-page-wrapper.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('off_canvas_page_wrapper', Array) (Line: 493)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 72)
__TwigTemplate_1889c082c47f64bc2f8d41330780826815fba2921715531c73d579222aa881b3->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 32)
__TwigTemplate_5b54e1251cd38de5e4ed6151f9a200a1b918611cae79fd93b7db7986c7b8b056->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/contrib/emulsify/templates/layout/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 690)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Most editing capabilities are disabled on small screens,
try using a tablet or computer to gain full control over your board layout.