diff --git a/core/lib/Drupal/Core/Config/TypedConfigManager.php b/core/lib/Drupal/Core/Config/TypedConfigManager.php index 26c54fe..71aa0bc 100644 --- a/core/lib/Drupal/Core/Config/TypedConfigManager.php +++ b/core/lib/Drupal/Core/Config/TypedConfigManager.php @@ -11,11 +11,12 @@ use Drupal\Component\Plugin\PluginManagerBase; use Drupal\Component\Utility\NestedArray; use Drupal\Component\Utility\String; +use Drupal\Core\Config\TypedConfigManagerInterface; /** * Manages config type plugins. */ -class TypedConfigManager extends PluginManagerBase { +class TypedConfigManager extends PluginManagerBase implements TypedConfigManagerInterface { /** * A storage controller instance for reading configuration data. @@ -286,13 +287,7 @@ protected function replaceVariable($value, $data) { } /** - * Checks if the configuration schema with the given config name exists. - * - * @param string $name - * Configuration name. - * - * @return bool - * TRUE if configuration schema exists, FALSE otherwise. + * {@inheritdoc} */ public function hasConfigSchema($name) { // The schema system falls back on the Property class for unknown types. diff --git a/core/lib/Drupal/Core/Config/TypedConfigManagerInterface.php b/core/lib/Drupal/Core/Config/TypedConfigManagerInterface.php new file mode 100644 index 0000000..e80f569 --- /dev/null +++ b/core/lib/Drupal/Core/Config/TypedConfigManagerInterface.php @@ -0,0 +1,27 @@ +