function ElementInfoTestNumberBuilder::preRender
Sets element_info_test - #pre_render callback.
File
-
core/
modules/ system/ tests/ modules/ element_info_test/ src/ ElementInfoTestNumberBuilder.php, line 24
Class
- ElementInfoTestNumberBuilder
- Provides a trusted callback to alter the element_info_test number element.
Namespace
Drupal\element_info_testCode
public static function preRender(array $element) : array {
return $element;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.