/**
  * #pre_render callback for building the regions.
  */
 public function buildRegions(array $build)
 {
     $cacheability = CacheableMetadata::createFromRenderArray($build)->addCacheableDependency($this);
     $contexts = $this->getContexts();
     foreach ($this->getRegionAssignments() as $region => $blocks) {
         if (!$blocks) {
             continue;
         }
         $region_name = Html::getClass("block-region-{$region}");
         $build[$region]['#prefix'] = '<div class="' . $region_name . '">';
         $build[$region]['#suffix'] = '</div>';
         /** @var \Drupal\Core\Block\BlockPluginInterface[] $blocks */
         $weight = 0;
         foreach ($blocks as $block_id => $block) {
             if ($block instanceof ContextAwarePluginInterface) {
                 $this->contextHandler()->applyContextMapping($block, $contexts);
             }
             $access = $block->access($this->account, TRUE);
             $cacheability->addCacheableDependency($access);
             if (!$access->isAllowed()) {
                 continue;
             }
             $block_build = ['#theme' => 'block', '#attributes' => [], '#weight' => $weight++, '#configuration' => $block->getConfiguration(), '#plugin_id' => $block->getPluginId(), '#base_plugin_id' => $block->getBaseId(), '#derivative_plugin_id' => $block->getDerivativeId(), '#block_plugin' => $block, '#pre_render' => [[$this, 'buildBlock']], '#cache' => ['keys' => ['page_manager_block_display', $this->id(), 'block', $block_id], 'tags' => Cache::mergeTags($this->getCacheTags(), $block->getCacheTags()), 'contexts' => $block->getCacheContexts(), 'max-age' => $block->getCacheMaxAge()]];
             // Merge the cacheability metadata of blocks into the page. This helps
             // to avoid cache redirects if the blocks have more cache contexts than
             // the page, which the page must respect as well.
             $cacheability->addCacheableDependency($block);
             $build[$region][$block_id] = $block_build;
         }
     }
     $build['#title'] = $this->renderPageTitle($this->configuration['page_title']);
     $cacheability->applyTo($build);
     return $build;
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 36
     $context["classes"] = array(0 => "block", 1 => "block-" . \Drupal\Component\Utility\Html::getClass($this->getAttribute(isset($context["configuration"]) ? $context["configuration"] : null, "provider", array())));
     // line 41
     echo "<div";
     echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "html", null, true);
     echo ">\n  ";
     // line 42
     echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_prefix"]) ? $context["title_prefix"] : null, "html", null, true);
     echo "\n  ";
     // line 43
     if (isset($context["label"]) ? $context["label"] : null) {
         // line 44
         echo "    <h2";
         echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_attributes"]) ? $context["title_attributes"] : null, "html", null, true);
         echo ">";
         echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["label"]) ? $context["label"] : null, "html", null, true);
         echo "</h2>\n  ";
     }
     // line 46
     echo "  ";
     echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_suffix"]) ? $context["title_suffix"] : null, "html", null, true);
     echo "\n  ";
     // line 47
     $this->displayBlock('content', $context, $blocks);
     // line 50
     echo "</div>\n";
 }
 /**
  * Displays a listing of migration messages.
  *
  * Messages are truncated at 56 chars.
  *
  * @return array
  *   A render array as expected by drupal_render().
  */
 public function overview($migration_group, $migration)
 {
     $rows = [];
     $classes = static::getLogLevelClassMap();
     /** @var MigrationInterface $migration */
     $migration = Migration::load($migration);
     $source_id_field_names = array_keys($migration->getSourcePlugin()->getIds());
     $column_number = 1;
     foreach ($source_id_field_names as $source_id_field_name) {
         $header[] = ['data' => $source_id_field_name, 'field' => 'sourceid' . $column_number++, 'class' => [RESPONSIVE_PRIORITY_MEDIUM]];
     }
     $header[] = ['data' => $this->t('Severity level'), 'field' => 'level', 'class' => [RESPONSIVE_PRIORITY_LOW]];
     $header[] = ['data' => $this->t('Message'), 'field' => 'message'];
     $message_table = $migration->getIdMap()->messageTableName();
     $query = $this->database->select($message_table, 'm')->extend('\\Drupal\\Core\\Database\\Query\\PagerSelectExtender')->extend('\\Drupal\\Core\\Database\\Query\\TableSortExtender');
     $query->fields('m');
     $result = $query->limit(50)->orderByHeader($header)->execute();
     foreach ($result as $message_row) {
         $column_number = 1;
         foreach ($source_id_field_names as $source_id_field_name) {
             $column_name = 'sourceid' . $column_number++;
             $row[$column_name] = $message_row->{$column_name};
         }
         $row['level'] = $message_row->level;
         $row['message'] = $message_row->message;
         $row['class'] = [Html::getClass('migrate-message-' . $message_row->level), $classes[$message_row->level]];
         $rows[] = $row;
     }
     $build['message_table'] = ['#type' => 'table', '#header' => $header, '#rows' => $rows, '#attributes' => ['id' => $message_table, 'class' => [$message_table]], '#empty' => $this->t('No messages for this migration.')];
     $build['message_pager'] = ['#type' => 'pager'];
     return $build;
 }
    protected function doDisplay(array $context, array $blocks = array())
    {
        $tags = array("set" => 29, "if" => 37, "block" => 41);
        $filters = array("clean_class" => 31);
        $functions = array();

        try {
            $this->env->getExtension('sandbox')->checkSecurity(
                array('set', 'if', 'block'),
                array('clean_class'),
                array()
            );
        } catch (Twig_Sandbox_SecurityError $e) {
            $e->setTemplateFile($this->getTemplateName());

            if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
                $e->setTemplateLine($tags[$e->getTagName()]);
            } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
                $e->setTemplateLine($filters[$e->getFilterName()]);
            } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
                $e->setTemplateLine($functions[$e->getFunctionName()]);
            }

            throw $e;
        }

        // line 29
        $context["classes"] = array(0 => "block", 1 => ("block-" . \Drupal\Component\Utility\Html::getClass($this->getAttribute(        // line 31
(isset($context["configuration"]) ? $context["configuration"] : null), "provider", array()))), 2 => ("block-" . \Drupal\Component\Utility\Html::getClass(        // line 32
(isset($context["plugin_id"]) ? $context["plugin_id"] : null))));
        // line 35
        echo "<div";
        echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute((isset($context["attributes"]) ? $context["attributes"] : null), "addClass", array(0 => (isset($context["classes"]) ? $context["classes"] : null)), "method"), "html", null, true));
        echo ">
  ";
        // line 36
        echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, (isset($context["title_prefix"]) ? $context["title_prefix"] : null), "html", null, true));
        echo "
  ";
        // line 37
        if ((isset($context["label"]) ? $context["label"] : null)) {
            // line 38
            echo "    <h2";
            echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, (isset($context["title_attributes"]) ? $context["title_attributes"] : null), "html", null, true));
            echo ">";
            echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, (isset($context["label"]) ? $context["label"] : null), "html", null, true));
            echo "</h2>
  ";
        }
        // line 40
        echo "  ";
        echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, (isset($context["title_suffix"]) ? $context["title_suffix"] : null), "html", null, true));
        echo "
  ";
        // line 41
        $this->displayBlock('content', $context, $blocks);
        // line 44
        echo "</div>
";
    }
 /**
  * Build render arrays for each of the regions.
  *
  * @param array $regions
  *   The render array representing regions.
  * @param array $contexts
  *   The array of context objects.
  *
  * @return array
  *   An associative array, keyed by region ID, containing the render arrays
  *   representing the content of each region.
  */
 protected function buildRegions(array $regions, array $contexts)
 {
     $build = [];
     foreach ($regions as $region => $blocks) {
         if (!$blocks) {
             continue;
         }
         $region_name = Html::getClass("block-region-{$region}");
         $build[$region]['#prefix'] = '<div class="' . $region_name . '">';
         $build[$region]['#suffix'] = '</div>';
         /** @var \Drupal\Core\Block\BlockPluginInterface[] $blocks */
         $weight = 0;
         foreach ($blocks as $block_id => $block) {
             if ($block instanceof ContextAwarePluginInterface) {
                 $this->contextHandler->applyContextMapping($block, $contexts);
             }
             if ($block->access($this->account)) {
                 $block_render_array = ['#theme' => 'block', '#attributes' => [], '#weight' => $weight++, '#configuration' => $block->getConfiguration(), '#plugin_id' => $block->getPluginId(), '#base_plugin_id' => $block->getBaseId(), '#derivative_plugin_id' => $block->getDerivativeId()];
                 $block_render_array['content'] = $block->build();
                 $build[$region][$block_id] = $block_render_array;
             }
         }
     }
     return $build;
 }
 public function block_navbar($context, array $blocks = array())
 {
     // line 67
     echo "    ";
     // line 68
     $context["navbar_classes"] = array(0 => "navbar", 1 => $this->getAttribute($this->getAttribute(isset($context["theme"]) ? $context["theme"] : null, "settings", array()), "navbar_inverse", array()) ? "navbar-inverse" : "navbar-default", 2 => $this->getAttribute($this->getAttribute(isset($context["theme"]) ? $context["theme"] : null, "settings", array()), "navbar_position", array()) ? "navbar-" . \Drupal\Component\Utility\Html::getClass($this->getAttribute($this->getAttribute(isset($context["theme"]) ? $context["theme"] : null, "settings", array()), "navbar_position", array())) : "container");
     // line 74
     echo "    <header";
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["navbar_attributes"]) ? $context["navbar_attributes"] : null, "addClass", array(0 => isset($context["navbar_classes"]) ? $context["navbar_classes"] : null), "method"), "html", null, true));
     echo " id=\"navbar\" role=\"banner\"  style=\"border:none;background-color:white;margin-bottom:0px\"> \n      <div class=\"navbar-header\">\n        ";
     // line 76
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["page"]) ? $context["page"] : null, "navigation", array()), "html", null, true));
     echo "\n        ";
     // line 78
     echo "        <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\".navbar-collapse\">\n          <span class=\"sr-only\">";
     // line 79
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(t("Toggle navigation")));
     echo "</span>\n          <span class=\"icon-bar\"></span>\n          <span class=\"icon-bar\"></span>\n          <span class=\"icon-bar\"></span>\n        </button>\n      </div>\n\n      ";
     // line 87
     echo "      ";
     if ($this->getAttribute(isset($context["page"]) ? $context["page"] : null, "navigation_collapsible", array())) {
         // line 88
         echo "        <div class=\"navbar-collapse collapse\" style=\"padding-top: 80px;\">\n          ";
         // line 89
         echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["page"]) ? $context["page"] : null, "navigation_collapsible", array()), "html", null, true));
         echo "\n        </div>\n      ";
     }
     // line 92
     echo "    </header>\n  ";
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 21
     $context["classes"] = array(0 => "views-ui-display-tab-bucket", 1 => isset($context["name"]) ? $context["name"] : null ? \Drupal\Component\Utility\Html::getClass(isset($context["name"]) ? $context["name"] : null) : "", 2 => isset($context["overridden"]) ? $context["overridden"] : null ? "overridden" : "");
     // line 27
     echo "<div";
     echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "html", null, true);
     echo ">\n  ";
     // line 28
     if (isset($context["title"]) ? $context["title"] : null) {
         // line 29
         echo "<h3 class=\"views-ui-display-tab-bucket__title\">";
         echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title"]) ? $context["title"] : null, "html", null, true);
         echo "</h3>";
     }
     // line 31
     echo "  ";
     if (isset($context["actions"]) ? $context["actions"] : null) {
         // line 32
         echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["actions"]) ? $context["actions"] : null, "html", null, true);
     }
     // line 34
     echo "  ";
     echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["content"]) ? $context["content"] : null, "html", null, true);
     echo "\n</div>\n";
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     $__internal_7a0e19497cc5621f359001e57941961d5fa9198360c2e2b87d5e42aa5f916bf4 = $this->env->getExtension("native_profiler");
     $__internal_7a0e19497cc5621f359001e57941961d5fa9198360c2e2b87d5e42aa5f916bf4->enter($__internal_7a0e19497cc5621f359001e57941961d5fa9198360c2e2b87d5e42aa5f916bf4_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "core/themes/classy/templates/field/image.html.twig"));
     $tags = array("set" => 14);
     $filters = array("clean_class" => 15);
     $functions = array();
     try {
         $this->env->getExtension('sandbox')->checkSecurity(array('set'), array('clean_class'), array());
     } catch (Twig_Sandbox_SecurityError $e) {
         $e->setTemplateFile($this->getTemplateName());
         if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
             $e->setTemplateLine($tags[$e->getTagName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
             $e->setTemplateLine($filters[$e->getFilterName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
             $e->setTemplateLine($functions[$e->getFunctionName()]);
         }
         throw $e;
     }
     // line 14
     $context["classes"] = array(0 => isset($context["style_name"]) ? $context["style_name"] : null ? "image-style-" . \Drupal\Component\Utility\Html::getClass(isset($context["style_name"]) ? $context["style_name"] : null) : "");
     // line 18
     echo "<img";
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "html", null, true));
     echo " />\n";
     $__internal_7a0e19497cc5621f359001e57941961d5fa9198360c2e2b87d5e42aa5f916bf4->leave($__internal_7a0e19497cc5621f359001e57941961d5fa9198360c2e2b87d5e42aa5f916bf4_prof);
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     $tags = array("set" => 14);
     $filters = array("clean_class" => 15);
     $functions = array();
     try {
         $this->env->getExtension('sandbox')->checkSecurity(array('set'), array('clean_class'), array());
     } catch (Twig_Sandbox_SecurityError $e) {
         $e->setTemplateFile($this->getTemplateName());
         if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
             $e->setTemplateLine($tags[$e->getTagName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
             $e->setTemplateLine($filters[$e->getFilterName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
             $e->setTemplateLine($functions[$e->getFunctionName()]);
         }
         throw $e;
     }
     // line 14
     $context["classes"] = array(0 => isset($context["style_name"]) ? $context["style_name"] : null ? "image-style-" . \Drupal\Component\Utility\Html::getClass(isset($context["style_name"]) ? $context["style_name"] : null) : "");
     // line 18
     echo "<img";
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "html", null, true));
     echo " />\n";
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     $tags = array("set" => 16, "if" => 21);
     $filters = array("clean_class" => 18);
     $functions = array();
     try {
         $this->env->getExtension('sandbox')->checkSecurity(array('set', 'if'), array('clean_class'), array());
     } catch (Twig_Sandbox_SecurityError $e) {
         $e->setTemplateFile($this->getTemplateName());
         if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
             $e->setTemplateLine($tags[$e->getTagName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
             $e->setTemplateLine($filters[$e->getFilterName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
             $e->setTemplateLine($functions[$e->getFunctionName()]);
         }
         throw $e;
     }
     // line 16
     $context["classes"] = array(0 => "region", 1 => "region-" . \Drupal\Component\Utility\Html::getClass(isset($context["region"]) ? $context["region"] : null));
     // line 21
     if (isset($context["content"]) ? $context["content"] : null) {
         // line 22
         echo "  <div";
         echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "html", null, true));
         echo ">\n    ";
         // line 23
         echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["content"]) ? $context["content"] : null, "html", null, true));
         echo "\n  </div>\n";
     }
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     $tags = array("set" => 27);
     $filters = array("clean_class" => 29, "raw" => 37, "safe_join" => 38, "t" => 46);
     $functions = array();
     try {
         $this->env->getExtension('sandbox')->checkSecurity(array('set'), array('clean_class', 'raw', 'safe_join', 't'), array());
     } catch (Twig_Sandbox_SecurityError $e) {
         $e->setTemplateFile($this->getTemplateName());
         if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
             $e->setTemplateLine($tags[$e->getTagName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
             $e->setTemplateLine($filters[$e->getFilterName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
             $e->setTemplateLine($functions[$e->getFunctionName()]);
         }
         throw $e;
     }
     // line 27
     $context["body_classes"] = array(0 => isset($context["logged_in"]) ? $context["logged_in"] : null ? "user-logged-in" : "", 1 => !(isset($context["root_path"]) ? $context["root_path"] : null) ? "path-frontpage" : "path-" . \Drupal\Component\Utility\Html::getClass(isset($context["root_path"]) ? $context["root_path"] : null), 2 => isset($context["node_type"]) ? $context["node_type"] : null ? "node--type-" . \Drupal\Component\Utility\Html::getClass(isset($context["node_type"]) ? $context["node_type"] : null) : "", 3 => isset($context["db_offline"]) ? $context["db_offline"] : null ? "db-offline" : "");
     // line 34
     echo "<!DOCTYPE html>\n<html";
     // line 35
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["html_attributes"]) ? $context["html_attributes"] : null, "html", null, true));
     echo ">\n  <head>\n    <head-placeholder token=\"";
     // line 37
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(isset($context["placeholder_token"]) ? $context["placeholder_token"] : null));
     echo "\">\n    <title>";
     // line 38
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar($this->env->getExtension('drupal_core')->safeJoin($this->env, isset($context["head_title"]) ? $context["head_title"] : null, " | ")));
     echo "</title>\n    <css-placeholder token=\"";
     // line 39
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(isset($context["placeholder_token"]) ? $context["placeholder_token"] : null));
     echo "\">\n    ";
     // line 41
     echo "    ";
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(isset($context["base_font"]) ? $context["base_font"] : null));
     echo "\n    <js-placeholder token=\"";
     // line 42
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(isset($context["placeholder_token"]) ? $context["placeholder_token"] : null));
     echo "\">\n  </head>\n  <body";
     // line 44
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["body_classes"]) ? $context["body_classes"] : null), "method"), "html", null, true));
     echo ">\n    <a href=\"#main-content\" class=\"visually-hidden focusable skip-link\">\n      ";
     // line 46
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(t("Skip to main content")));
     echo "\n    </a>\n    ";
     // line 48
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["page_top"]) ? $context["page_top"] : null, "html", null, true));
     echo "\n    ";
     // line 49
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["page"]) ? $context["page"] : null, "html", null, true));
     echo "\n    ";
     // line 50
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["page_bottom"]) ? $context["page_bottom"] : null, "html", null, true));
     echo "\n    <js-bottom-placeholder token=\"";
     // line 51
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(isset($context["placeholder_token"]) ? $context["placeholder_token"] : null));
     echo "\">\n  </body>\n</html>\n";
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     $__internal_f5cce079f768131b8f1310979b4b92808ef545f69f67629e95d8c78e5adbbe0c = $this->env->getExtension("native_profiler");
     $__internal_f5cce079f768131b8f1310979b4b92808ef545f69f67629e95d8c78e5adbbe0c->enter($__internal_f5cce079f768131b8f1310979b4b92808ef545f69f67629e95d8c78e5adbbe0c_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "core/themes/classy/templates/layout/region.html.twig"));
     $tags = array("set" => 16, "if" => 21);
     $filters = array("clean_class" => 18);
     $functions = array();
     try {
         $this->env->getExtension('sandbox')->checkSecurity(array('set', 'if'), array('clean_class'), array());
     } catch (Twig_Sandbox_SecurityError $e) {
         $e->setTemplateFile($this->getTemplateName());
         if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
             $e->setTemplateLine($tags[$e->getTagName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
             $e->setTemplateLine($filters[$e->getFilterName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
             $e->setTemplateLine($functions[$e->getFunctionName()]);
         }
         throw $e;
     }
     // line 16
     $context["classes"] = array(0 => "region", 1 => "region-" . \Drupal\Component\Utility\Html::getClass(isset($context["region"]) ? $context["region"] : null));
     // line 21
     if (isset($context["content"]) ? $context["content"] : null) {
         // line 22
         echo "  <div";
         echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "html", null, true));
         echo ">\n    ";
         // line 23
         echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["content"]) ? $context["content"] : null, "html", null, true));
         echo "\n  </div>\n";
     }
     $__internal_f5cce079f768131b8f1310979b4b92808ef545f69f67629e95d8c78e5adbbe0c->leave($__internal_f5cce079f768131b8f1310979b4b92808ef545f69f67629e95d8c78e5adbbe0c_prof);
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     $tags = array("set" => 38, "if" => 48, "block" => 58, "trans" => 63);
     $filters = array("clean_class" => 42, "clean_id" => 45, "without" => 46);
     $functions = array();
     try {
         $this->env->getExtension('sandbox')->checkSecurity(array('set', 'if', 'block', 'trans'), array('clean_class', 'clean_id', 'without'), array());
     } catch (Twig_Sandbox_SecurityError $e) {
         $e->setTemplateFile($this->getTemplateName());
         if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
             $e->setTemplateLine($tags[$e->getTagName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
             $e->setTemplateLine($filters[$e->getFilterName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
             $e->setTemplateLine($functions[$e->getFunctionName()]);
         }
         throw $e;
     }
     // line 38
     $context["classes"] = array(0 => "block", 1 => "block-menu", 2 => "navigation", 3 => "menu--" . \Drupal\Component\Utility\Html::getClass(isset($context["derivative_plugin_id"]) ? $context["derivative_plugin_id"] : null));
     // line 45
     $context["heading_id"] = $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "id", array()) . \Drupal\Component\Utility\Html::getId("-menu");
     // line 46
     echo "<nav role=\"navigation\" aria-labelledby=\"";
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["heading_id"]) ? $context["heading_id"] : null, "html", null, true));
     echo "\"";
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without($this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "role", "aria-labelledby"), "html", null, true));
     echo ">\n  ";
     // line 48
     echo "  ";
     if (!$this->getAttribute(isset($context["configuration"]) ? $context["configuration"] : null, "label_display", array())) {
         // line 49
         echo "    ";
         $context["title_attributes"] = $this->getAttribute(isset($context["title_attributes"]) ? $context["title_attributes"] : null, "addClass", array(0 => "visually-hidden"), "method");
         // line 50
         echo "  ";
     }
     // line 51
     echo "  ";
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_prefix"]) ? $context["title_prefix"] : null, "html", null, true));
     echo "\n  <h2";
     // line 52
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["title_attributes"]) ? $context["title_attributes"] : null, "setAttribute", array(0 => "id", 1 => isset($context["heading_id"]) ? $context["heading_id"] : null), "method"), "html", null, true));
     echo ">";
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["configuration"]) ? $context["configuration"] : null, "label", array()), "html", null, true));
     echo "</h2>\n  ";
     // line 53
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_suffix"]) ? $context["title_suffix"] : null, "html", null, true));
     echo "\n\n  ";
     // line 56
     echo "  ";
     $context["show_anchor"] = "show-" . \Drupal\Component\Utility\Html::getId($this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "id", array()));
     // line 57
     echo "  ";
     $context["hide_anchor"] = "hide-" . \Drupal\Component\Utility\Html::getId($this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "id", array()));
     // line 58
     echo "  ";
     $this->displayBlock('content', $context, $blocks);
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     $tags = array("set" => 29, "if" => 44);
     $filters = array("clean_class" => 31, "t" => 53);
     $functions = array();
     try {
         $this->env->getExtension('sandbox')->checkSecurity(array('set', 'if'), array('clean_class', 't'), array());
     } catch (Twig_Sandbox_SecurityError $e) {
         $e->setTemplateFile($this->getTemplateName());
         if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
             $e->setTemplateLine($tags[$e->getTagName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
             $e->setTemplateLine($filters[$e->getFilterName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
             $e->setTemplateLine($functions[$e->getFunctionName()]);
         }
         throw $e;
     }
     // line 29
     $context["classes"] = array(0 => "field", 1 => "field--name-" . \Drupal\Component\Utility\Html::getClass(isset($context["field_name"]) ? $context["field_name"] : null), 2 => "field--type-" . \Drupal\Component\Utility\Html::getClass(isset($context["field_type"]) ? $context["field_type"] : null), 3 => "field--label-" . (isset($context["label_display"]) ? $context["label_display"] : null), 4 => "comment-wrapper");
     // line 38
     $context["title_classes"] = array(0 => "title", 1 => (isset($context["label_display"]) ? $context["label_display"] : null) == "visually_hidden" ? "visually-hidden" : "");
     // line 43
     echo "<section";
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "html", null, true));
     echo ">\n  ";
     // line 44
     if ((isset($context["comments"]) ? $context["comments"] : null) && !(isset($context["label_hidden"]) ? $context["label_hidden"] : null)) {
         // line 45
         echo "    ";
         echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_prefix"]) ? $context["title_prefix"] : null, "html", null, true));
         echo "\n    <h2";
         // line 46
         echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["title_attributes"]) ? $context["title_attributes"] : null, "addClass", array(0 => isset($context["title_classes"]) ? $context["title_classes"] : null), "method"), "html", null, true));
         echo ">";
         echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["label"]) ? $context["label"] : null, "html", null, true));
         echo "</h2>\n    ";
         // line 47
         echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_suffix"]) ? $context["title_suffix"] : null, "html", null, true));
         echo "\n  ";
     }
     // line 49
     echo "\n  ";
     // line 50
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["comments"]) ? $context["comments"] : null, "html", null, true));
     echo "\n\n  ";
     // line 52
     if (isset($context["comment_form"]) ? $context["comment_form"] : null) {
         // line 53
         echo "    <h2 class=\"title comment-form__title\">";
         echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(t("Add new comment")));
         echo "</h2>\n    ";
         // line 54
         echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["comment_form"]) ? $context["comment_form"] : null, "html", null, true));
         echo "\n  ";
     }
     // line 56
     echo "\n</section>\n";
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     $tags = array("set" => 34, "if" => 52, "for" => 56);
     $filters = array("clean_class" => 34);
     $functions = array();
     try {
         $this->env->getExtension('sandbox')->checkSecurity(array('set', 'if', 'for'), array('clean_class'), array());
     } catch (Twig_Sandbox_SecurityError $e) {
         $e->setTemplateFile($this->getTemplateName());
         if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
             $e->setTemplateLine($tags[$e->getTagName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
             $e->setTemplateLine($filters[$e->getFilterName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
             $e->setTemplateLine($functions[$e->getFunctionName()]);
         }
         throw $e;
     }
     // line 34
     $context["field_name_class"] = \Drupal\Component\Utility\Html::getClass(isset($context["field_name"]) ? $context["field_name"] : null);
     // line 36
     $context["classes"] = array(0 => "field", 1 => "field-" . \Drupal\Component\Utility\Html::getClass(isset($context["entity_type"]) ? $context["entity_type"] : null) . "--" . (isset($context["field_name_class"]) ? $context["field_name_class"] : null), 2 => "field-name-" . (isset($context["field_name_class"]) ? $context["field_name_class"] : null), 3 => "field-type-" . \Drupal\Component\Utility\Html::getClass(isset($context["field_type"]) ? $context["field_type"] : null), 4 => "field-label-" . (isset($context["label_display"]) ? $context["label_display"] : null), 5 => (isset($context["label_display"]) ? $context["label_display"] : null) == "inline" ? "clearfix" : "");
     // line 46
     $context["title_classes"] = array(0 => "field__label", 1 => (isset($context["label_display"]) ? $context["label_display"] : null) == "visually_hidden" ? "visually-hidden" : "");
     // line 51
     echo "<div";
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "html", null, true));
     echo ">\n  ";
     // line 52
     if (!(isset($context["label_hidden"]) ? $context["label_hidden"] : null)) {
         // line 53
         echo "    <h3";
         echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["title_attributes"]) ? $context["title_attributes"] : null, "addClass", array(0 => isset($context["title_classes"]) ? $context["title_classes"] : null), "method"), "html", null, true));
         echo ">";
         echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["label"]) ? $context["label"] : null, "html", null, true));
         echo "</h3>\n  ";
     }
     // line 55
     echo "  <div";
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["content_attributes"]) ? $context["content_attributes"] : null, "addClass", array(0 => "field__items"), "method"), "html", null, true));
     echo ">\n    ";
     // line 56
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["items"]) ? $context["items"] : null);
     foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
         // line 57
         echo "      <div";
         echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute($context["item"], "attributes", array()), "addClass", array(0 => "field__item"), "method"), "html", null, true));
         echo ">";
         echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($context["item"], "content", array()), "html", null, true));
         echo "</div>\n    ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 59
     echo "  </div>\n</div>\n";
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     $__internal_d5fdbc60c80f6b72247ec473e59d80d9ff42128768881ee08f6810a8c73d62af = $this->env->getExtension("native_profiler");
     $__internal_d5fdbc60c80f6b72247ec473e59d80d9ff42128768881ee08f6810a8c73d62af->enter($__internal_d5fdbc60c80f6b72247ec473e59d80d9ff42128768881ee08f6810a8c73d62af_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "core/themes/classy/templates/block/block--system-menu-block.html.twig"));
     $tags = array("set" => 35, "if" => 45, "block" => 53);
     $filters = array("clean_class" => 39, "clean_id" => 42, "without" => 43);
     $functions = array();
     try {
         $this->env->getExtension('sandbox')->checkSecurity(array('set', 'if', 'block'), array('clean_class', 'clean_id', 'without'), array());
     } catch (Twig_Sandbox_SecurityError $e) {
         $e->setTemplateFile($this->getTemplateName());
         if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
             $e->setTemplateLine($tags[$e->getTagName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
             $e->setTemplateLine($filters[$e->getFilterName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
             $e->setTemplateLine($functions[$e->getFunctionName()]);
         }
         throw $e;
     }
     // line 35
     $context["classes"] = array(0 => "block", 1 => "block-menu", 2 => "navigation", 3 => "menu--" . \Drupal\Component\Utility\Html::getClass(isset($context["derivative_plugin_id"]) ? $context["derivative_plugin_id"] : null));
     // line 42
     $context["heading_id"] = $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "id", array()) . \Drupal\Component\Utility\Html::getId("-menu");
     // line 43
     echo "<nav role=\"navigation\" aria-labelledby=\"";
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["heading_id"]) ? $context["heading_id"] : null, "html", null, true));
     echo "\"";
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without($this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "role", "aria-labelledby"), "html", null, true));
     echo ">\n  ";
     // line 45
     echo "  ";
     if (!$this->getAttribute(isset($context["configuration"]) ? $context["configuration"] : null, "label_display", array())) {
         // line 46
         echo "    ";
         $context["title_attributes"] = $this->getAttribute(isset($context["title_attributes"]) ? $context["title_attributes"] : null, "addClass", array(0 => "visually-hidden"), "method");
         // line 47
         echo "  ";
     }
     // line 48
     echo "  ";
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_prefix"]) ? $context["title_prefix"] : null, "html", null, true));
     echo "\n  <h2";
     // line 49
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["title_attributes"]) ? $context["title_attributes"] : null, "setAttribute", array(0 => "id", 1 => isset($context["heading_id"]) ? $context["heading_id"] : null), "method"), "html", null, true));
     echo ">";
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["configuration"]) ? $context["configuration"] : null, "label", array()), "html", null, true));
     echo "</h2>\n  ";
     // line 50
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_suffix"]) ? $context["title_suffix"] : null, "html", null, true));
     echo "\n\n  ";
     // line 53
     echo "  ";
     $this->displayBlock('content', $context, $blocks);
     // line 56
     echo "</nav>\n";
     $__internal_d5fdbc60c80f6b72247ec473e59d80d9ff42128768881ee08f6810a8c73d62af->leave($__internal_d5fdbc60c80f6b72247ec473e59d80d9ff42128768881ee08f6810a8c73d62af_prof);
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 14
     $context["classes"] = array(0 => isset($context["style_name"]) ? $context["style_name"] : null ? "image-style-" . \Drupal\Component\Utility\Html::getClass(isset($context["style_name"]) ? $context["style_name"] : null) : "");
     // line 18
     echo "<img";
     echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "html", null, true);
     echo " />\n";
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     $tags = array("set" => 44, "if" => 56, "block" => 64);
     $filters = array("clean_class" => 47, "clean_id" => 51);
     $functions = array();
     try {
         $this->env->getExtension('sandbox')->checkSecurity(array('set', 'if', 'block'), array('clean_class', 'clean_id'), array());
     } catch (Twig_Sandbox_SecurityError $e) {
         $e->setTemplateFile($this->getTemplateName());
         if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
             $e->setTemplateLine($tags[$e->getTagName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
             $e->setTemplateLine($filters[$e->getFilterName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
             $e->setTemplateLine($functions[$e->getFunctionName()]);
         }
         throw $e;
     }
     // line 44
     $context["classes"] = array(0 => "block", 1 => "block-menu", 2 => "block-menu--" . \Drupal\Component\Utility\Html::getClass(isset($context["derivative_plugin_id"]) ? $context["derivative_plugin_id"] : null), 3 => isset($context["label"]) ? $context["label"] : null ? "has-title" : "");
     // line 51
     $context["heading_id"] = $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "id", array()) . \Drupal\Component\Utility\Html::getId("-menu");
     // line 52
     echo "<nav";
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "html", null, true));
     echo " role=\"navigation\" aria-labelledby=\"";
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["heading_id"]) ? $context["heading_id"] : null, "html", null, true));
     echo "\">\n  <div class=\"block__inner block-menu__inner\">\n\n    ";
     // line 56
     echo "    ";
     if (!$this->getAttribute(isset($context["configuration"]) ? $context["configuration"] : null, "label_display", array())) {
         // line 57
         echo "      ";
         $context["title_attributes"] = $this->getAttribute(isset($context["title_attributes"]) ? $context["title_attributes"] : null, "addClass", array(0 => "visually-hidden"), "method");
         // line 58
         echo "    ";
     }
     // line 59
     echo "\n    ";
     // line 60
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_prefix"]) ? $context["title_prefix"] : null, "html", null, true));
     echo "\n    <h2 id=\"";
     // line 61
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["heading_id"]) ? $context["heading_id"] : null, "html", null, true));
     echo "\"";
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["title_attributes"]) ? $context["title_attributes"] : null, "addClass", array(0 => "block__title", 1 => "block-menu__title"), "method"), "html", null, true));
     echo "><span>";
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["configuration"]) ? $context["configuration"] : null, "label", array()), "html", null, true));
     echo "</span></h2>\n    ";
     // line 62
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_suffix"]) ? $context["title_suffix"] : null, "html", null, true));
     echo "\n\n    ";
     // line 64
     $this->displayBlock('content', $context, $blocks);
     // line 69
     echo "\n  </div>\n</nav>\n";
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 65
     $context["classes"] = array(0 => "node", 1 => "node--type-" . \Drupal\Component\Utility\Html::getClass($this->getAttribute(isset($context["node"]) ? $context["node"] : null, "bundle", array())), 2 => $this->getAttribute(isset($context["node"]) ? $context["node"] : null, "isPromoted", array(), "method") ? "node--promoted" : "", 3 => $this->getAttribute(isset($context["node"]) ? $context["node"] : null, "isSticky", array(), "method") ? "node--sticky" : "", 4 => !$this->getAttribute(isset($context["node"]) ? $context["node"] : null, "isPublished", array(), "method") ? "node--unpublished" : "", 5 => isset($context["view_mode"]) ? $context["view_mode"] : null ? "node--view-mode-" . \Drupal\Component\Utility\Html::getClass(isset($context["view_mode"]) ? $context["view_mode"] : null) : "", 6 => "clearfix");
     // line 75
     echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->env->getExtension('drupal_core')->attachLibrary("classy/node"), "html", null, true);
     echo "\n<article";
     // line 76
     echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "html", null, true);
     echo ">\n  <header>\n    ";
     // line 78
     echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_prefix"]) ? $context["title_prefix"] : null, "html", null, true);
     echo "\n    ";
     // line 79
     if (!(isset($context["page"]) ? $context["page"] : null)) {
         // line 80
         echo "      <h2";
         echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["title_attributes"]) ? $context["title_attributes"] : null, "addClass", array(0 => "node__title"), "method"), "html", null, true);
         echo ">\n        <a href=\"";
         // line 81
         echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["url"]) ? $context["url"] : null, "html", null, true);
         echo "\" rel=\"bookmark\">";
         echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["label"]) ? $context["label"] : null, "html", null, true);
         echo "</a>\n      </h2>\n    ";
     }
     // line 84
     echo "    ";
     echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_suffix"]) ? $context["title_suffix"] : null, "html", null, true);
     echo "\n    ";
     // line 85
     if (isset($context["display_submitted"]) ? $context["display_submitted"] : null) {
         // line 86
         echo "      <div class=\"node__meta\">\n        ";
         // line 87
         echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["author_picture"]) ? $context["author_picture"] : null, "html", null, true);
         echo "\n        <span";
         // line 88
         echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["author_attributes"]) ? $context["author_attributes"] : null, "html", null, true);
         echo ">\n          ";
         // line 89
         echo t("Submitted by @author_name on @date", array("@author_name" => isset($context["author_name"]) ? $context["author_name"] : null, "@date" => isset($context["date"]) ? $context["date"] : null));
         // line 90
         echo "        </span>\n        ";
         // line 91
         echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["metadata"]) ? $context["metadata"] : null, "html", null, true);
         echo "\n      </div>\n    ";
     }
     // line 94
     echo "  </header>\n  <div";
     // line 95
     echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["content_attributes"]) ? $context["content_attributes"] : null, "addClass", array(0 => "node__content", 1 => "clearfix"), "method"), "html", null, true);
     echo ">\n    ";
     // line 96
     echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["content"]) ? $context["content"] : null, "html", null, true);
     echo "\n  </div>\n</article>\n";
 }
    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 44
        $context["classes"] = array(0 => "block", 1 => "block-menu", 2 => ("block-menu--" . \Drupal\Component\Utility\Html::getClass(        // line 47
(isset($context["derivative_plugin_id"]) ? $context["derivative_plugin_id"] : null))), 3 => ((        // line 48
(isset($context["label"]) ? $context["label"] : null)) ? ("has-title") : ("")));
        // line 51
        $context["heading_id"] = ($this->getAttribute((isset($context["attributes"]) ? $context["attributes"] : null), "id", array()) . \Drupal\Component\Utility\Html::getId("-menu"));
        // line 52
        echo "<nav";
        echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute((isset($context["attributes"]) ? $context["attributes"] : null), "addClass", array(0 => (isset($context["classes"]) ? $context["classes"] : null)), "method"), "html", null, true);
        echo " role=\"navigation\" aria-labelledby=\"";
        echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, (isset($context["heading_id"]) ? $context["heading_id"] : null), "html", null, true);
        echo "\">
  <div class=\"block__inner block-menu__inner\">

    ";
        // line 56
        echo "    ";
        if ( !$this->getAttribute((isset($context["configuration"]) ? $context["configuration"] : null), "label_display", array())) {
            // line 57
            echo "      ";
            $context["title_attributes"] = $this->getAttribute((isset($context["title_attributes"]) ? $context["title_attributes"] : null), "addClass", array(0 => "visually-hidden"), "method");
            // line 58
            echo "    ";
        }
        // line 59
        echo "
    ";
        // line 60
        echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, (isset($context["title_prefix"]) ? $context["title_prefix"] : null), "html", null, true);
        echo "
    <h2 id=\"";
        // line 61
        echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, (isset($context["heading_id"]) ? $context["heading_id"] : null), "html", null, true);
        echo "\"";
        echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute((isset($context["title_attributes"]) ? $context["title_attributes"] : null), "addClass", array(0 => "block__title", 1 => "block-menu__title"), "method"), "html", null, true);
        echo "><span>";
        echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute((isset($context["configuration"]) ? $context["configuration"] : null), "label", array()), "html", null, true);
        echo "</span></h2>
    ";
        // line 62
        echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, (isset($context["title_suffix"]) ? $context["title_suffix"] : null), "html", null, true);
        echo "

    ";
        // line 65
        echo "    ";
        $this->displayBlock('content', $context, $blocks);
        // line 70
        echo "
  </div>
</nav>
";
    }
Beispiel #21
0
 /**
  * #process callback for address fields.
  *
  * @param array $element
  *   An associative array containing the properties and children of the
  *   generic input element.
  * @param \Drupal\Core\Form\FormStateInterface $form_state
  *   The current state of the form.
  * @param array $complete_form
  *   The complete form structure.
  *
  * @return array
  *   The processed element.
  */
 public static function processAddress(&$element, FormStateInterface $form_state, &$complete_form)
 {
     $labels = array('first_name' => t('First name'), 'last_name' => t('Last name'), 'company' => t('Company'), 'street1' => t('Street address'), 'street2' => ' ', 'city' => t('City'), 'zone' => t('State/Province'), 'country' => t('Country'), 'postal_code' => t('Postal code'), 'phone' => t('Phone number'), 'email' => t('E-mail'));
     $element['#tree'] = TRUE;
     $config = \Drupal::config('uc_store.settings')->get('address_fields');
     $value = $element['#value'];
     $wrapper = Html::getClass('uc-address-' . $element['#name'] . '-zone-wrapper');
     $country_names = \Drupal::service('country_manager')->getEnabledList();
     // Force the selected country to a valid one, so the zone dropdown matches.
     if ($country_keys = array_keys($country_names)) {
         if (isset($value->country) && !isset($country_names[$value->country])) {
             $value->country = $country_keys[0];
         }
     }
     // Iterating on the Address object excludes non-public properties, which
     // is exactly what we want to do.
     $address = Address::create();
     foreach ($address as $field => $field_value) {
         switch ($field) {
             case 'country':
                 if ($country_names) {
                     $subelement = array('#type' => 'select', '#options' => $country_names, '#ajax' => array('callback' => array(get_class(), 'updateZone'), 'wrapper' => $wrapper, 'progress' => array('type' => 'throbber')));
                 } else {
                     $subelement = array('#type' => 'hidden', '#required' => FALSE);
                 }
                 break;
             case 'zone':
                 $subelement = array('#prefix' => '<div id="' . $wrapper . '">', '#suffix' => '</div>');
                 $zones = $value->country ? \Drupal::service('country_manager')->getZoneList($value->country) : [];
                 if ($zones) {
                     natcasesort($zones);
                     $subelement += array('#type' => 'select', '#options' => $zones, '#empty_value' => '', '#after_build' => [[get_class(), 'resetZone']]);
                 } else {
                     $subelement += array('#type' => 'hidden', '#value' => '', '#required' => FALSE);
                 }
                 break;
             case 'postal_code':
                 $subelement = array('#type' => 'textfield', '#size' => 10, '#maxlength' => 10);
                 break;
             case 'phone':
                 $subelement = array('#type' => 'tel', '#size' => 16, '#maxlength' => 32);
                 break;
             default:
                 $subelement = array('#type' => 'textfield', '#size' => 32);
         }
         // Copy JavaScript states from the parent element.
         if (isset($element['#states'])) {
             $subelement['#states'] = $element['#states'];
         }
         // Set common values for all address fields.
         $element[$field] = $subelement + array('#title' => $labels[$field], '#default_value' => $value->{$field}, '#access' => !$element['#hidden'] && !empty($config[$field]['status']), '#required' => $element['#required'] && !empty($config[$field]['required']), '#weight' => isset($config[$field]['weight']) ? $config[$field]['weight'] : 0);
     }
     return $element;
 }
 /**
  * {@inheritdoc}
  */
 public function viewElements(FieldItemListInterface $items, $langcode)
 {
     $rows = array();
     foreach ($items as $item) {
         $to = tmgmt_language_combination_language_label($item->language_to);
         $from = tmgmt_language_combination_language_label($item->language_from);
         $row[] = array('data' => $from, 'class' => array('from-language', Html::getClass('language-' . $from)));
         $row[] = array('data' => $to, 'class' => array('to-language', Html::getClass('language-' . $to)));
         $rows[] = array('data' => $row, 'class' => array(Html::getClass($from . '-' . $to)));
     }
     return array('#theme' => 'table', '#header' => array(t('From'), t('To')), '#rows' => $rows);
 }
 /**
  * {@inheritdoc}
  */
 public function viewElements(FieldItemListInterface $items, $langcode)
 {
     $elements['#theme'] = 'item_list';
     $elements['#items'] = array();
     foreach ($items as $delta => $item) {
         $from = tmgmt_language_combination_language_label($item->language_from);
         $to = tmgmt_language_combination_language_label($item->language_to);
         $elements['#items'][$delta]['data'] = t('From @from to @to', array('@from' => $from, '@to' => $to));
         $elements['#items'][$delta]['class'][] = Html::getClass($from . '-' . $to) . '">';
     }
     return $elements;
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 40
     $context["classes"] = array(0 => "paragraph", 1 => "paragraph--type--" . \Drupal\Component\Utility\Html::getClass($this->getAttribute(isset($context["paragraph"]) ? $context["paragraph"] : null, "bundle", array())), 2 => isset($context["view_mode"]) ? $context["view_mode"] : null ? "paragraph--view-mode--" . \Drupal\Component\Utility\Html::getClass(isset($context["view_mode"]) ? $context["view_mode"] : null) : "");
     // line 46
     echo "<div";
     echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "html", null, true);
     echo ">\n    ";
     // line 47
     echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["content"]) ? $context["content"] : null, "html", null, true);
     echo "\n</div>";
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     $tags = array("set" => 44, "block" => 62);
     $filters = array("clean_class" => 46, "clean_id" => 51);
     $functions = array();
     try {
         $this->env->getExtension('sandbox')->checkSecurity(array('set', 'block'), array('clean_class', 'clean_id'), array());
     } catch (Twig_Sandbox_SecurityError $e) {
         $e->setTemplateFile($this->getTemplateName());
         if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
             $e->setTemplateLine($tags[$e->getTagName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
             $e->setTemplateLine($filters[$e->getFilterName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
             $e->setTemplateLine($functions[$e->getFunctionName()]);
         }
         throw $e;
     }
     // line 44
     $context["classes"] = array(0 => "rm-block", 1 => "rm--menu--" . \Drupal\Component\Utility\Html::getClass(isset($context["derivative_plugin_id"]) ? $context["derivative_plugin_id"] : null), 2 => isset($context["label"]) ? $context["label"] : null ? "has-title" : "", 3 => "js-hide");
     // line 51
     $context["heading_id"] = $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "id", array()) . \Drupal\Component\Utility\Html::getId("-menu");
     // line 52
     echo "<nav";
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "html", null, true));
     echo " role=\"navigation\" aria-labelledby=\"";
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["heading_id"]) ? $context["heading_id"] : null, "html", null, true));
     echo "\">\n  <div class=\"rm-block__inner\">\n    ";
     // line 54
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_prefix"]) ? $context["title_prefix"] : null, "html", null, true));
     echo "\n    <div id=\"";
     // line 55
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["heading_id"]) ? $context["heading_id"] : null, "html", null, true));
     echo "\"";
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["title_attributes"]) ? $context["title_attributes"] : null, "addClass", array(0 => "rm-toggle"), "method"), "html", null, true));
     echo ">\n      ";
     // line 56
     $context["rm_text_state"] = isset($context["label"]) ? $context["label"] : null ? "rm-toggle__label" : "visually-hidden";
     // line 57
     echo "      <button href=\"#rm-content\" class=\"rm-toggle__link un-button\" role='button' aria-controls=\"rm-content\" aria-expanded=\"false\">\n        <span class=\"";
     // line 58
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["rm_text_state"]) ? $context["rm_text_state"] : null, "html", null, true));
     echo "\">";
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["configuration"]) ? $context["configuration"] : null, "label", array()), "html", null, true));
     echo "</span>\n      </button>\n    </div>\n    ";
     // line 61
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_suffix"]) ? $context["title_suffix"] : null, "html", null, true));
     echo "\n    ";
     // line 62
     $this->displayBlock('content', $context, $blocks);
     // line 67
     echo "  </div>\n</nav>\n";
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     $tags = array("set" => 45, "if" => 53, "block" => 54);
     $filters = array("clean_class" => 47);
     $functions = array();
     try {
         $this->env->getExtension('sandbox')->checkSecurity(array('set', 'if', 'block'), array('clean_class'), array());
     } catch (Twig_Sandbox_SecurityError $e) {
         $e->setTemplateFile($this->getTemplateName());
         if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
             $e->setTemplateLine($tags[$e->getTagName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
             $e->setTemplateLine($filters[$e->getFilterName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
             $e->setTemplateLine($functions[$e->getFunctionName()]);
         }
         throw $e;
     }
     // line 45
     $context["classes"] = array(0 => "panel", 1 => isset($context["errors"]) ? $context["errors"] : null ? "panel-danger" : "panel-" . \Drupal\Component\Utility\Html::getClass(isset($context["panel_type"]) ? $context["panel_type"] : null));
     // line 50
     echo "<div";
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "html", null, true));
     echo ">\n\n  ";
     // line 53
     echo "  ";
     if (isset($context["heading"]) ? $context["heading"] : null) {
         // line 54
         echo "    ";
         $this->displayBlock('heading', $context, $blocks);
         // line 68
         echo "  ";
     }
     // line 69
     echo "\n  ";
     // line 71
     echo "  ";
     $this->displayBlock('body', $context, $blocks);
     // line 104
     echo "\n  ";
     // line 106
     echo "  ";
     if (isset($context["footer"]) ? $context["footer"] : null) {
         // line 107
         echo "    ";
         $this->displayBlock('footer', $context, $blocks);
         // line 115
         echo "  ";
     }
     // line 116
     echo "\n</div>\n";
 }
Beispiel #27
0
 /**
  * {@inheritdoc}
  */
 public function viewElements(FieldItemListInterface $items, $langcode)
 {
     $element = array();
     $link = $this->getSetting('link');
     foreach ($items as $delta => $item) {
         if ($link) {
             $element[$delta] = array('#type' => 'link', '#title' => $item->input, '#url' => Url::fromUri($item->input), '#options' => array('attributes' => array('class' => array('youtube-url', 'youtube-url--' . Html::getClass($item->video_id))), 'html' => TRUE));
         } else {
             $element[$delta] = array('#markup' => Html::escape($item->input));
         }
     }
     return $element;
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 16
     $context["classes"] = array(0 => "region", 1 => "region-" . \Drupal\Component\Utility\Html::getClass(isset($context["region"]) ? $context["region"] : null));
     // line 21
     if (isset($context["content"]) ? $context["content"] : null) {
         // line 22
         echo "  <div";
         echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "html", null, true);
         echo ">\n    ";
         // line 23
         echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["content"]) ? $context["content"] : null, "html", null, true);
         echo "\n  </div>\n";
     }
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     $__internal_e0ea6cecda61b7fff15aac61c4a764df456e806cd413fd0998ac31d105a2e0c7 = $this->env->getExtension("native_profiler");
     $__internal_e0ea6cecda61b7fff15aac61c4a764df456e806cd413fd0998ac31d105a2e0c7->enter($__internal_e0ea6cecda61b7fff15aac61c4a764df456e806cd413fd0998ac31d105a2e0c7_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "block.html.twig"));
     $tags = array("set" => 40, "if" => 47, "block" => 51);
     $filters = array("clean_class" => 42);
     $functions = array();
     try {
         $this->env->getExtension('sandbox')->checkSecurity(array('set', 'if', 'block'), array('clean_class'), array());
     } catch (Twig_Sandbox_SecurityError $e) {
         $e->setTemplateFile($this->getTemplateName());
         if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
             $e->setTemplateLine($tags[$e->getTagName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
             $e->setTemplateLine($filters[$e->getFilterName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
             $e->setTemplateLine($functions[$e->getFunctionName()]);
         }
         throw $e;
     }
     // line 40
     $context["classes"] = array(0 => "block", 1 => "block-" . \Drupal\Component\Utility\Html::getClass($this->getAttribute(isset($context["configuration"]) ? $context["configuration"] : null, "provider", array())));
     // line 45
     echo "<div";
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "html", null, true));
     echo ">\n  ";
     // line 46
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_prefix"]) ? $context["title_prefix"] : null, "html", null, true));
     echo "\n  ";
     // line 47
     if (isset($context["label"]) ? $context["label"] : null) {
         // line 48
         echo "    <h2";
         echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_attributes"]) ? $context["title_attributes"] : null, "html", null, true));
         echo ">";
         echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["label"]) ? $context["label"] : null, "html", null, true));
         echo "</h2>\n  ";
     }
     // line 50
     echo "  ";
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_suffix"]) ? $context["title_suffix"] : null, "html", null, true));
     echo "\n  ";
     // line 51
     $this->displayBlock('content', $context, $blocks);
     // line 56
     echo "</div>\n";
     $__internal_e0ea6cecda61b7fff15aac61c4a764df456e806cd413fd0998ac31d105a2e0c7->leave($__internal_e0ea6cecda61b7fff15aac61c4a764df456e806cd413fd0998ac31d105a2e0c7_prof);
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     $__internal_17b399b8c9707b41496b0383c3bdfec762ac7f29fccece75c8300e7988576627 = $this->env->getExtension("native_profiler");
     $__internal_17b399b8c9707b41496b0383c3bdfec762ac7f29fccece75c8300e7988576627->enter($__internal_17b399b8c9707b41496b0383c3bdfec762ac7f29fccece75c8300e7988576627_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "core/themes/classy/templates/block/block.html.twig"));
     $tags = array("set" => 29, "if" => 37, "block" => 41);
     $filters = array("clean_class" => 31);
     $functions = array();
     try {
         $this->env->getExtension('sandbox')->checkSecurity(array('set', 'if', 'block'), array('clean_class'), array());
     } catch (Twig_Sandbox_SecurityError $e) {
         $e->setTemplateFile($this->getTemplateName());
         if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
             $e->setTemplateLine($tags[$e->getTagName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
             $e->setTemplateLine($filters[$e->getFilterName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
             $e->setTemplateLine($functions[$e->getFunctionName()]);
         }
         throw $e;
     }
     // line 29
     $context["classes"] = array(0 => "block", 1 => "block-" . \Drupal\Component\Utility\Html::getClass($this->getAttribute(isset($context["configuration"]) ? $context["configuration"] : null, "provider", array())), 2 => "block-" . \Drupal\Component\Utility\Html::getClass(isset($context["plugin_id"]) ? $context["plugin_id"] : null));
     // line 35
     echo "<div";
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "html", null, true));
     echo ">\n  ";
     // line 36
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_prefix"]) ? $context["title_prefix"] : null, "html", null, true));
     echo "\n  ";
     // line 37
     if (isset($context["label"]) ? $context["label"] : null) {
         // line 38
         echo "    <h2";
         echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_attributes"]) ? $context["title_attributes"] : null, "html", null, true));
         echo ">";
         echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["label"]) ? $context["label"] : null, "html", null, true));
         echo "</h2>\n  ";
     }
     // line 40
     echo "  ";
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_suffix"]) ? $context["title_suffix"] : null, "html", null, true));
     echo "\n  ";
     // line 41
     $this->displayBlock('content', $context, $blocks);
     // line 44
     echo "</div>\n";
     $__internal_17b399b8c9707b41496b0383c3bdfec762ac7f29fccece75c8300e7988576627->leave($__internal_17b399b8c9707b41496b0383c3bdfec762ac7f29fccece75c8300e7988576627_prof);
 }