4 * Contains \Drupal\bootstrap\Plugin\Prerender\PrerenderBase.
7 namespace Drupal\bootstrap\Plugin\Prerender;
9 use Drupal\bootstrap\Utility\Element;
12 * Defines the interface for an object oriented preprocess plugin.
14 * @ingroup plugins_prerender
16 class PrerenderBase implements PrerenderInterface {
21 public static function preRender(array $element) {
22 static::preRenderElement(Element::create($element));
27 * Pre-render element callback.
29 * @param \Drupal\bootstrap\Utility\Element $element
32 public static function preRenderElement(Element $element) {}