public static function CshsElement::preRender in Client-side Hierarchical Select 8
Same name and namespace in other branches
- 8.3 src/Element/CshsElement.php \Drupal\cshs\Element\CshsElement::preRender()
- 8.2 src/Element/CshsElement.php \Drupal\cshs\Element\CshsElement::preRender()
File
- src/
Element/ CshsElement.php, line 75
Class
- CshsElement
- Defines the CSHS element.
Namespace
Drupal\cshs\ElementCode
public static function preRender(array $element) : array {
$element['#options'] = static::formatOptions($element);
return $element;
}