function ConfigNamesMapper::hasSchema

Same name in other branches
  1. 8.9.x core/modules/config_translation/src/ConfigNamesMapper.php \Drupal\config_translation\ConfigNamesMapper::hasSchema()
  2. 10 core/modules/config_translation/src/ConfigNamesMapper.php \Drupal\config_translation\ConfigNamesMapper::hasSchema()
  3. 11.x core/modules/config_translation/src/ConfigNamesMapper.php \Drupal\config_translation\ConfigNamesMapper::hasSchema()

Overrides ConfigMapperInterface::hasSchema

File

core/modules/config_translation/src/ConfigNamesMapper.php, line 443

Class

ConfigNamesMapper
Configuration mapper base implementation.

Namespace

Drupal\config_translation

Code

public function hasSchema() {
    foreach ($this->getConfigNames() as $name) {
        if (!$this->typedConfigManager
            ->hasConfigSchema($name)) {
            return FALSE;
        }
    }
    return TRUE;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.