public static function Element::properties in Render cache 7.2
Gets properties of a structured array element (keys beginning with '#').
Parameters
array $element: An element array to return properties for.
Return value
array An array of property keys for the element.
File
- lib/
Drupal/ Core/ Render/ Element.php, line 43 - Contains \Drupal\Core\Render\Element.
Class
- Element
- Provides helper methods for Drupal render elements.
Namespace
Drupal\Core\RenderCode
public static function properties(array $element) {
return array_filter(array_keys($element), 'static::property');
}