You are here

public function ConfigInspectorManager::checkValues in Configuration Inspector 8

Check schema compliance in configuration object.

Parameters

string $config_name: Configuration name.

Return value

array|bool FALSE if no schema found. List of errors if any found. TRUE if fully valid.

Throws

\Drupal\Core\Config\Schema\SchemaIncompleteException

File

src/ConfigInspectorManager.php, line 138

Class

ConfigInspectorManager
Manages plugins for configuration translation mappers.

Namespace

Drupal\config_inspector

Code

public function checkValues($config_name) {
  $config_data = $this->configFactory
    ->get($config_name)
    ->get();
  return $this
    ->checkConfigSchema($this->typedConfigManager, $config_name, $config_data);
}