file PreprocessInterface.php

Namespace

Drupal\bootstrap\Plugin\Preprocess
  1. <?php
  2. namespace Drupal\bootstrap\Plugin\Preprocess;
  3. /**
  4. * Defines the interface for an object oriented preprocess plugin.
  5. *
  6. * @ingroup plugins_preprocess
  7. */
  8. interface PreprocessInterface {
  9. /**
  10. * Preprocess theme hook variables.
  11. *
  12. * @param array $variables
  13. * The variables array, passed by reference (modify in place).
  14. * @param string $hook
  15. * The name of the theme hook.
  16. * @param array $info
  17. * The theme hook info array.
  18. */
  19. public function preprocess(array &$variables, $hook, array $info);
  20. }

Interfaces

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