protected function ConfigItemNormalizer::getNormalizerInstance in Configuration Normalizer 8
Returns an instance of the specified package generation normalizer.
Parameters
string $id: The string identifier of the normalizer to use to package configuration.
Return value
\Drupal\config_normalizer\Plugin\ConfigNormalizerInterface
1 call to ConfigItemNormalizer::getNormalizerInstance()
File
- src/
ConfigItemNormalizer.php, line 67
Class
- ConfigItemNormalizer
- Class responsible for performing configuration normalization.
Namespace
Drupal\config_normalizerCode
protected function getNormalizerInstance($id) {
if (!isset($this->normalizers[$id])) {
$instance = $this->normalizerManager
->createInstance($id);
$this->normalizers[$id] = $instance;
}
return $this->normalizers[$id];
}