function RegistryTest::tearDown

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Theme/RegistryTest.php \Drupal\Tests\Core\Theme\RegistryTest::tearDown()
  2. 8.9.x core/tests/Drupal/Tests/Core/Theme/RegistryTest.php \Drupal\Tests\Core\Theme\RegistryTest::tearDown()
  3. 10 core/tests/Drupal/Tests/Core/Theme/RegistryTest.php \Drupal\Tests\Core\Theme\RegistryTest::tearDown()

File

core/tests/Drupal/Tests/Core/Theme/RegistryTest.php, line 118

Class

RegistryTest
@coversDefaultClass <a href="/api/drupal/core%21lib%21Drupal%21Core%21Theme%21Registry.php/class/Registry/11.x" title="Defines the theme registry service." class="local">\Drupal\Core\Theme\Registry</a> @group Theme

Namespace

Drupal\Tests\Core\Theme

Code

protected function tearDown() : void {
    parent::tearDown();
    static::$functions = [];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.