public function ImmutableConfigTest::testClear in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/Config/ImmutableConfigTest.php \Drupal\Tests\Core\Config\ImmutableConfigTest::testClear()
@covers ::clear @expectedException \Drupal\Core\Config\ImmutableConfigException @expectedExceptionMessage Can not clear name key in immutable configuration test. Use \Drupal\Core\Config\ConfigFactoryInterface::getEditable() to retrieve a mutable configuration object
File
- core/
tests/ Drupal/ Tests/ Core/ Config/ ImmutableConfigTest.php, line 48 - Contains \Drupal\Tests\Core\Config\ImmutableConfigTest.
Class
- ImmutableConfigTest
- @coversDefaultClass \Drupal\Core\Config\ImmutableConfig @group Config
Namespace
Drupal\Tests\Core\ConfigCode
public function testClear() {
$this->config
->clear('name');
}