You are here

function get_defined_functions in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Theme/RegistryTest.php \Drupal\Tests\Core\Theme\get_defined_functions()
  2. 10 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 497

Namespace

Drupal\Tests\Core\Theme

Code

function get_defined_functions() {
  return RegistryTest::$functions ?: \get_defined_functions();
}