3 namespace Drupal\bootstrap\Plugin\Preprocess;
5 use Drupal\bootstrap\Utility\Variables;
8 * Pre-processes variables for the "page" theme hook.
10 * @ingroup plugins_preprocess
12 * @BootstrapPreprocess("page")
14 class Page extends PreprocessBase implements PreprocessInterface {
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();