function element_info_test_element_pre_render
Same name in other branches
- 8.9.x core/modules/system/tests/modules/element_info_test/element_info_test.module \element_info_test_element_pre_render()
See also
\Drupal\KernelTests\Core\Render\Element\WeightTest::testProcessWeightSelectMax()
2 string references to 'element_info_test_element_pre_render'
- element_info_test_element_info_alter in core/
modules/ system/ tests/ modules/ element_info_test/ element_info_test.module - Implements hook_element_info_alter().
- WeightTest::testProcessWeightSelectMax in core/
tests/ Drupal/ KernelTests/ Core/ Render/ Element/ WeightTest.php - Tests transformation from "select" to "number" for MAX_DELTA + 1.
File
-
core/
modules/ system/ tests/ modules/ element_info_test/ element_info_test.module, line 31
Code
function element_info_test_element_pre_render(array $element) {
return $element;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.