public static function StatusPropertyElement::preRenderStatusProperty in Apigee Edge 8
Prepare the render array for the template.
Parameters
array $element: A renderable array.
Return value
array A renderable array.
File
- src/
Element/ StatusPropertyElement.php, line 76
Class
- StatusPropertyElement
- Provides a status property element.
Namespace
Drupal\apigee_edge\ElementCode
public static function preRenderStatusProperty(array $element) : array {
$element['#attached']['library'][] = 'apigee_edge/apigee_edge.status_property';
return $element;
}