class PrerenderBase in Express 8
Defines the interface for an object oriented preprocess plugin.
Hierarchy
- class \Drupal\bootstrap\Plugin\Prerender\PrerenderBase implements PrerenderInterface
Expanded class hierarchy of PrerenderBase
File
- themes/
contrib/ bootstrap/ src/ Plugin/ Prerender/ PrerenderBase.php, line 16 - Contains \Drupal\bootstrap\Plugin\Prerender\PrerenderBase.
Namespace
Drupal\bootstrap\Plugin\PrerenderView source
class PrerenderBase implements PrerenderInterface {
/**
* {@inheritdoc}
*/
public static function preRender(array $element) {
static::preRenderElement(Element::create($element));
return $element;
}
/**
* Pre-render element callback.
*
* @param \Drupal\bootstrap\Utility\Element $element
* The element object.
*/
public static function preRenderElement(Element $element) {
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PrerenderBase:: |
public static | function |
Pre-render render array element callback. Overrides PrerenderInterface:: |
|
PrerenderBase:: |
public static | function | Pre-render element callback. | 3 |