You are here

public static function Variables::create in Express 8

Creates a new \Drupal\bootstrap\Utility\Variables instance.

Parameters

array $variables: A theme hook variables array.

Return value

\Drupal\bootstrap\Utility\Variables The newly created variables instance.

2 calls to Variables::create()
PreprocessBase::preprocess in themes/contrib/bootstrap/src/Plugin/Preprocess/PreprocessBase.php
Preprocess theme hook variables.
ThemeSuggestions::alter in themes/contrib/bootstrap/src/Plugin/Alter/ThemeSuggestions.php
Alters data for a specific hook_TYPE_alter() implementation.

File

themes/contrib/bootstrap/src/Utility/Variables.php, line 48
Contains \Drupal\bootstrap\Utility\Variables.

Class

Variables
Class to help modify template variables.

Namespace

Drupal\bootstrap\Utility

Code

public static function create(array &$variables) {
  return new self($variables);
}