function ElementInterface::getInfo

Same name in other branches
  1. 9 core/lib/Drupal/Core/Render/Element/ElementInterface.php \Drupal\Core\Render\Element\ElementInterface::getInfo()
  2. 8.9.x core/lib/Drupal/Core/Render/Element/ElementInterface.php \Drupal\Core\Render\Element\ElementInterface::getInfo()
  3. 11.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.

61 methods override ElementInterface::getInfo()
Ajax::getInfo in core/lib/Drupal/Core/Render/Element/Ajax.php
Returns the element properties for this element.
BreakLockLink::getInfo in core/lib/Drupal/Core/TempStore/Element/BreakLockLink.php
Returns the element properties for this element.
Button::getInfo in core/lib/Drupal/Core/Render/Element/Button.php
Returns the element properties for this element.
Checkbox::getInfo in core/lib/Drupal/Core/Render/Element/Checkbox.php
Returns the element properties for this element.
Checkboxes::getInfo in core/lib/Drupal/Core/Render/Element/Checkboxes.php
Returns the element properties for this element.

... See full list

File

core/lib/Drupal/Core/Render/Element/ElementInterface.php, line 41

Class

ElementInterface
Provides an interface for render element plugins.

Namespace

Drupal\Core\Render\Element

Code

public function getInfo();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.