You are here

function element_info_test_element_pre_render in Drupal 9

Same name and namespace in other branches
  1. 8 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
Element info test.

Code

function element_info_test_element_pre_render(array $element) {
  return $element;
}