protected function ConfigActionsPluginTest::getConfig in Config Actions 8
Helper function to load a specific configuration item
Parameters
string $id:
Return value
array of config data
9 calls to ConfigActionsPluginTest::getConfig()
- ConfigActionsPluginTest::testAdd in tests/
src/ Kernel/ ConfigActionsPluginTest.php - @covers \Drupal\config_actions\Plugin\ConfigActions\ConfigActionsAdd
- ConfigActionsPluginTest::testChange in tests/
src/ Kernel/ ConfigActionsPluginTest.php - @covers \Drupal\config_actions\Plugin\ConfigActions\ConfigActionsChange
- ConfigActionsPluginTest::testDelete in tests/
src/ Kernel/ ConfigActionsPluginTest.php - @covers \Drupal\config_actions\Plugin\ConfigActions\ConfigActionsDelete
- ConfigActionsPluginTest::testInclude in tests/
src/ Kernel/ ConfigActionsPluginTest.php - @covers \Drupal\config_actions\Plugin\ConfigActions\ConfigActionsInclude
- ConfigActionsPluginTest::testNested in tests/
src/ Kernel/ ConfigActionsPluginTest.php - Test nested actions.
File
- tests/
src/ Kernel/ ConfigActionsPluginTest.php, line 53
Class
- ConfigActionsPluginTest
- test the ConfigActions plugins
Namespace
Drupal\Tests\config_actions\KernelCode
protected function getConfig($id) {
return $this->container
->get('config.factory')
->get($id)
->get();
}