function TypedConfigManagerInterface::createFromNameAndData
Same name in other branches
- 9 core/lib/Drupal/Core/Config/TypedConfigManagerInterface.php \Drupal\Core\Config\TypedConfigManagerInterface::createFromNameAndData()
- 8.9.x core/lib/Drupal/Core/Config/TypedConfigManagerInterface.php \Drupal\Core\Config\TypedConfigManagerInterface::createFromNameAndData()
- 10 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 88
Class
- TypedConfigManagerInterface
- Defines an interface for managing config schema type plugins.
Namespace
Drupal\Core\ConfigCode
public function createFromNameAndData($config_name, array $config_data);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.