function ConfigTest::testGetCacheTags

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Config/ConfigTest.php \Drupal\Tests\Core\Config\ConfigTest::testGetCacheTags()
  2. 8.9.x core/tests/Drupal/Tests/Core/Config/ConfigTest.php \Drupal\Tests\Core\Config\ConfigTest::testGetCacheTags()
  3. 11.x core/tests/Drupal/Tests/Core/Config/ConfigTest.php \Drupal\Tests\Core\Config\ConfigTest::testGetCacheTags()

@covers ::getCacheTags

File

core/tests/Drupal/Tests/Core/Config/ConfigTest.php, line 429

Class

ConfigTest
Tests the Config.

Namespace

Drupal\Tests\Core\Config

Code

public function testGetCacheTags() {
    $this->assertSame([
        'config:' . $this->config
            ->getName(),
    ], $this->config
        ->getCacheTags());
}

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