interface PreprocessInterface

Defines the interface for an object oriented preprocess plugin.

Hierarchy

Expanded class hierarchy of PreprocessInterface

All classes that implement PreprocessInterface

Related topics

Namespace

Drupal\bootstrap\Plugin\Preprocess
Source
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);

}

Members

Contains filters are case sensitive
Name Modifiers Type Description
PreprocessInterface::preprocess public function Preprocess theme hook variables.