function ElementInterface::getInfo
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Render/Element/ElementInterface.php \Drupal\Core\Render\Element\ElementInterface::getInfo()
- 10 core/lib/Drupal/Core/Render/Element/ElementInterface.php \Drupal\Core\Render\Element\ElementInterface::getInfo()
- 8.9.x core/lib/Drupal/Core/Render/Element/ElementInterface.php \Drupal\Core\Render\Element\ElementInterface::getInfo()
Returns the element properties for this element.
Return value
array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format.
22 methods override ElementInterface::getInfo()
- Button::getInfo in core/
lib/ Drupal/ Core/ Render/ Element/ Button.php - Color::getInfo in core/
lib/ Drupal/ Core/ Render/ Element/ Color.php - ContextualLinks::getInfo in core/
modules/ contextual/ src/ Element/ ContextualLinks.php - ContextualLinksPlaceholder::getInfo in core/
modules/ contextual/ src/ Element/ ContextualLinksPlaceholder.php - Fieldset::getInfo in core/
lib/ Drupal/ Core/ Render/ Element/ Fieldset.php
File
-
core/
lib/ Drupal/ Core/ Render/ Element/ ElementInterface.php, line 41
Class
- ElementInterface
- Provides an interface for render element plugins.
Namespace
Drupal\Core\Render\ElementCode
public function getInfo();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.