protected function GlobalSettingsTrait::getCollapsiblockGlobalConfig in Collapsiblock 3.x
Same name and namespace in other branches
- 4.x tests/src/Traits/GlobalSettingsTrait.php \Drupal\Tests\collapsiblock\Traits\GlobalSettingsTrait::getCollapsiblockGlobalConfig()
Get the global Collapsiblock configuration.
Return value
\Drupal\Core\Config\Config The global Collapsiblock configuration object.
File
- tests/
src/ Traits/ GlobalSettingsTrait.php, line 27
Class
- GlobalSettingsTrait
- Simplify working with global Collapsiblock settings.
Namespace
Drupal\Tests\collapsiblock\TraitsCode
protected function getCollapsiblockGlobalConfig() {
return $this
->config('collapsiblock.settings');
}