You are here

PreprocessInterface.php in Express 8

File

themes/contrib/bootstrap/src/Plugin/Preprocess/PreprocessInterface.php
View 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

Namesort descending Description
PreprocessInterface Defines the interface for an object oriented preprocess plugin.