You are here

public function TypedConfigManagerInterface::createFromNameAndData in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Config/TypedConfigManagerInterface.php \Drupal\Core\Config\TypedConfigManagerInterface::createFromNameAndData()

Gets typed data for a given configuration name and its values.

Parameters

string $config_name: The machine name of the configuration.

array $config_data: The data associated with the configuration. Note: This configuration doesn't yet have to be stored.

Return value

\Drupal\Core\TypedData\TraversableTypedDataInterface The typed configuration element.

1 method overrides TypedConfigManagerInterface::createFromNameAndData()
TypedConfigManager::createFromNameAndData in core/lib/Drupal/Core/Config/TypedConfigManager.php
Gets typed data for a given configuration name and its values.

File

core/lib/Drupal/Core/Config/TypedConfigManagerInterface.php, line 87

Class

TypedConfigManagerInterface
Defines an interface for managing config schema type plugins.

Namespace

Drupal\Core\Config

Code

public function createFromNameAndData($config_name, array $config_data);