file PrerenderInterface.php

Namespace

Drupal\bootstrap\Plugin\Prerender
  1. <?php
  2. namespace Drupal\bootstrap\Plugin\Prerender;
  3. /**
  4. * Defines the interface for an object oriented preprocess plugin.
  5. *
  6. * @ingroup plugins_prerender
  7. */
  8. interface PrerenderInterface {
  9. /**
  10. * Pre-render render array element callback.
  11. *
  12. * @param array $element
  13. * The render array element.
  14. *
  15. * @return array
  16. * The modified render array element.
  17. */
  18. public static function preRender(array $element);
  19. }

Interfaces

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