function public function PreprocessInterface::preprocess
8.x-3.x PreprocessInterface.php | public PreprocessInterface::preprocess(array &$variables, $hook, array $info) |
Preprocess theme hook variables.
Parameters
array $variables: The variables array, passed by reference (modify in place).
string $hook: The name of the theme hook.
array $info: The theme hook info array.
Class
- PreprocessInterface
- Defines the interface for an object oriented preprocess plugin.
Namespace
Drupal\bootstrap\Plugin\PreprocessSource src/Plugin/Preprocess/PreprocessInterface.php (line 22)
public function preprocess(array &$variables, $hook, array $info);