Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ElementInterface.php

function 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.

58 methods override ElementInterface::getInfo()
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.
Color::getInfo in core/lib/Drupal/Core/Render/Element/Color.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();
RSS feed
Powered by Drupal