Element

Provides helper methods for Drupal render elements.

Hierarchy

See also

\Drupal\Core\Render\Element\ElementInterface

Related topics

Render API overview
Overview of the Theme system and Render API.

File

core/lib/Drupal/Core/Render/Element.php, line 15

Namespace

Drupal\Core\Render

Members

Name Modifiers Type Description
Element::child public static function Checks if the key is a child.
Element::children public static function Identifies the children of an element array, optionally sorted by weight.
Element::getVisibleChildren public static function Returns the visible children of an element.
Element::isEmpty public static function Indicates whether the given element is empty.
Element::isVisibleElement public static function Determines if an element is visible.
Element::properties public static function Gets properties of a structured array element (keys beginning with '#').
Element::property public static function Checks if the key is a property.
Element::setAttributes public static function Sets HTML attributes based on element properties.
doc_Drupal
2016-10-29 09:03:58
Comments
Leave a Comment

Please login to continue.