public function ConfigFactoryWrapper::get in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/Config/ConfigFactoryWrapper.php \Drupal\webprofiler\Config\ConfigFactoryWrapper::get()
- 8.2 webprofiler/src/Config/ConfigFactoryWrapper.php \Drupal\webprofiler\Config\ConfigFactoryWrapper::get()
- 4.x webprofiler/src/Config/ConfigFactoryWrapper.php \Drupal\webprofiler\Config\ConfigFactoryWrapper::get()
Returns an immutable configuration object for a given name.
Parameters
string $name: The name of the configuration object to construct.
Return value
\Drupal\Core\Config\ImmutableConfig A configuration object.
Overrides ConfigFactory::get
File
- webprofiler/
src/ Config/ ConfigFactoryWrapper.php, line 21
Class
- ConfigFactoryWrapper
- Wraps a config factory to be able to figure out all used config files.
Namespace
Drupal\webprofiler\ConfigCode
public function get($name) {
$result = parent::get($name);
$this->dataCollector
->addConfigName($name);
return $result;
}