protected function ConfigActionsPluginTest::deleteConfig in Config Actions 8
Helper function to delete a specific configuration item
Parameters
string $id:
2 calls to ConfigActionsPluginTest::deleteConfig()
- ConfigActionsPluginTest::testInclude in tests/
src/ Kernel/ ConfigActionsPluginTest.php - @covers \Drupal\config_actions\Plugin\ConfigActions\ConfigActionsInclude
- ConfigActionsPluginTest::testTemplate in tests/
src/ Kernel/ ConfigActionsPluginTest.php - @covers \Drupal\config_actions\Plugin\ConfigActions\ConfigActionsChange
File
- tests/
src/ Kernel/ ConfigActionsPluginTest.php, line 61
Class
- ConfigActionsPluginTest
- test the ConfigActions plugins
Namespace
Drupal\Tests\config_actions\KernelCode
protected function deleteConfig($id) {
return $this->container
->get('config.factory')
->getEditable($id)
->delete();
}