function ContextualLinksPlaceholder::getInfo
Same name in other branches
- 9 core/modules/contextual/src/Element/ContextualLinksPlaceholder.php \Drupal\contextual\Element\ContextualLinksPlaceholder::getInfo()
- 8.9.x core/modules/contextual/src/Element/ContextualLinksPlaceholder.php \Drupal\contextual\Element\ContextualLinksPlaceholder::getInfo()
- 11.x core/modules/contextual/src/Element/ContextualLinksPlaceholder.php \Drupal\contextual\Element\ContextualLinksPlaceholder::getInfo()
Overrides ElementInterface::getInfo
File
-
core/
modules/ contextual/ src/ Element/ ContextualLinksPlaceholder.php, line 21
Class
- ContextualLinksPlaceholder
- Provides a contextual_links_placeholder element.
Namespace
Drupal\contextual\ElementCode
public function getInfo() {
$class = static::class;
return [
'#pre_render' => [
[
$class,
'preRenderPlaceholder',
],
],
'#id' => NULL,
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.