function ElementInfoTestNumberBuilder::preRender
Same name in other branches
- 10 core/modules/system/tests/modules/element_info_test/src/ElementInfoTestNumberBuilder.php \Drupal\element_info_test\ElementInfoTestNumberBuilder::preRender()
Sets element_info_test - #pre_render callback.
File
-
core/
modules/ system/ tests/ modules/ element_info_test/ src/ ElementInfoTestNumberBuilder.php, line 26
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.