You are here

public function ConfigNamesMapper::hasSchema in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/config_translation/src/ConfigNamesMapper.php \Drupal\config_translation\ConfigNamesMapper::hasSchema()
  2. 9 core/modules/config_translation/src/ConfigNamesMapper.php \Drupal\config_translation\ConfigNamesMapper::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;
}