function ElementInterface::getInfo

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

11 methods override ElementInterface::getInfo()
Date::getInfo in core/lib/Drupal/Core/Render/Element/Date.php
Returns the element properties for this element.
Html::getInfo in core/lib/Drupal/Core/Render/Element/Html.php
Returns the element properties for this element.
LanguageConfiguration::getInfo in core/modules/language/src/Element/LanguageConfiguration.php
Returns the element properties for this element.
LayoutBuilder::getInfo in core/modules/layout_builder/src/Element/LayoutBuilder.php
Returns the element properties for this element.
ManagedFile::getInfo in core/modules/file/src/Element/ManagedFile.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.