public function ConfigNamesMapper::hasSchema in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/config_translation/src/ConfigNamesMapper.php \Drupal\config_translation\ConfigNamesMapper::hasSchema()
Checks that all pieces of this configuration mapper have a schema.
Return value
bool TRUE if all of the elements have schema, FALSE otherwise.
Overrides ConfigMapperInterface::hasSchema
File
- core/
modules/ config_translation/ src/ ConfigNamesMapper.php, line 426 - Contains \Drupal\config_translation\ConfigNamesMapper.
Class
- ConfigNamesMapper
- Configuration mapper base implementation.
Namespace
Drupal\config_translationCode
public function hasSchema() {
foreach ($this
->getConfigNames() as $name) {
if (!$this->typedConfigManager
->hasConfigSchema($name)) {
return FALSE;
}
}
return TRUE;
}