public static Element::properties(array $element)
Gets properties of a structured array element (keys beginning with '#').
array $element: An element array to return properties for.
array An array of property keys for the element.
public static function properties(array $element) { return array_filter(array_keys($element), 'static::property'); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Render!Element.php/function/Element::properties/8.1.x