4f888cee83c946da11ecd7bed932f3d1981c71b6
[yaffs-website] / web / themes / contrib / bootstrap / src / Plugin / Preprocess / Page.php
1 <?php
2
3 namespace Drupal\bootstrap\Plugin\Preprocess;
4
5 use Drupal\bootstrap\Utility\Variables;
6
7 /**
8  * Pre-processes variables for the "page" theme hook.
9  *
10  * @ingroup plugins_preprocess
11  *
12  * @BootstrapPreprocess("page")
13  */
14 class Page extends PreprocessBase implements PreprocessInterface {
15
16   /**
17    * {@inheritdoc}
18    */
19   public function preprocessVariables(Variables $variables) {
20     // Setup default attributes.
21     $variables->getAttributes($variables::NAVBAR);
22     $variables->getAttributes($variables::HEADER);
23     $variables->getAttributes($variables::CONTENT);
24     $variables->getAttributes($variables::FOOTER);
25     $this->preprocessAttributes();
26   }
27
28 }