Security update for Core, with self-updated composer
[yaffs-website] / web / core / lib / Drupal / Core / Config / TypedConfigManagerInterface.php
index 5beeb6f1cd72e4ca8c06f281eb28249357b8f69c..5c3779fd1a20511258219f3d361a6b1d418ff3f9 100644 (file)
@@ -72,4 +72,18 @@ interface TypedConfigManagerInterface extends TypedDataManagerInterface {
    */
   public function getDefinition($plugin_id, $exception_on_invalid = TRUE);
 
+  /**
+   * Gets typed data for a given configuration name and its values.
+   *
+   * @param string $config_name
+   *   The machine name of the configuration.
+   * @param array $config_data
+   *   The data associated with the configuration. Note: This configuration
+   *   doesn't yet have to be stored.
+   *
+   * @return \Drupal\Core\TypedData\TraversableTypedDataInterface
+   *   The typed configuration element.
+   */
+  public function createFromNameAndData($config_name, array $config_data);
+
 }