PreprocessInterface.php in Express 8
Namespace
Drupal\bootstrap\Plugin\PreprocessFile
themes/contrib/bootstrap/src/Plugin/Preprocess/PreprocessInterface.phpView source
<?php
/**
* @file
* Contains \Drupal\bootstrap\Plugin\Preprocess\PreprocessInterface.
*/
namespace Drupal\bootstrap\Plugin\Preprocess;
/**
* Defines the interface for an object oriented preprocess plugin.
*
* @ingroup plugins_preprocess
*/
interface PreprocessInterface {
/**
* Preprocess theme hook variables.
*
* @param array $variables
* The variables array, passed by reference (modify in place).
* @param string $hook
* The name of the theme hook.
* @param array $info
* The theme hook info array.
*/
public function preprocess(array &$variables, $hook, array $info);
}
Interfaces
Name | Description |
---|---|
PreprocessInterface | Defines the interface for an object oriented preprocess plugin. |