function get_defined_functions
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Theme/RegistryTest.php \Drupal\Tests\Core\Theme\get_defined_functions()
- 8.9.x core/tests/Drupal/Tests/Core/Theme/RegistryTest.php \Drupal\Tests\Core\Theme\get_defined_functions()
- 11.x core/tests/Drupal/Tests/Core/Theme/RegistryTest.php \Drupal\Tests\Core\Theme\get_defined_functions()
Overrides get_defined_functions() with a configurable mock.
File
-
core/
tests/ Drupal/ Tests/ Core/ Theme/ RegistryTest.php, line 513
Namespace
Drupal\Tests\Core\ThemeCode
function get_defined_functions() {
return RegistryTest::$functions ?: \get_defined_functions();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.