protected function ConfigActionsServiceTest::getConfig in Config Actions 8
Helper function to load a specific configuration item
Parameters
string $id:
Return value
array of config data
1 call to ConfigActionsServiceTest::getConfig()
- ConfigActionsServiceTest::testAutoExecute in tests/
src/ Kernel/ ConfigActionsServiceTest.php - @covers ::autoExecute
File
- tests/
src/ Kernel/ ConfigActionsServiceTest.php, line 54
Class
- ConfigActionsServiceTest
- test the ConfigActions service
Namespace
Drupal\Tests\config_actions\KernelCode
protected function getConfig($id) {
return $this->container
->get('config.factory')
->get($id)
->get();
}