TypedData::$parent

The parent typed data object. Type: \Drupal\Core\TypedData\TraversableTypedDataInterface|null File core/lib/Drupal/Core/TypedData/TypedData.php, line 40 Class TypedData The abstract base class for typed data. Namespace Drupal\Core\TypedData Code protected $parent;

TypedData::$definition

The data definition. Type: \Drupal\Core\TypedData\DataDefinitionInterface File core/lib/Drupal/Core/TypedData/TypedData.php, line 26 Class TypedData The abstract base class for typed data. Namespace Drupal\Core\TypedData Code protected $definition;

TypedData

The abstract base class for typed data. Classes deriving from this base class have to declare $value or override getValue() or setValue(). Hierarchy class \Drupal\Core\TypedData\TypedData implements PluginInspectionInterface, TypedDataInterface uses StringTranslationTrait, TypedDataTrait Related topics Typed Data API API for describing data based on a set of available data types. File core/lib/Drupal/Core/TypedData/TypedData.php, line 16 Namespace Drupal\Core\TypedData Members Name

TypedConfigManagerInterface::buildDataDefinition

public TypedConfigManagerInterface::buildDataDefinition(array $definition, $value, $name = NULL, $parent = NULL) Creates a new data definition object from a type definition array and actual configuration data. Since type definitions may contain variables to be replaced, we need the configuration value to create it. Parameters array $definition: The base type definition array, for which a data definition should be created. $value: Optional value of the configuration element. string $name: Optio

TypedConfigManagerInterface::get

public TypedConfigManagerInterface::get($name) Gets typed configuration data. Parameters string $name: Configuration object name. Return value \Drupal\Core\TypedData\TraversableTypedDataInterface Typed configuration element. File core/lib/Drupal/Core/Config/TypedConfigManagerInterface.php, line 26 Class TypedConfigManagerInterface Defines an interface for managing config schema type plugins. Namespace Drupal\Core\Config Code public function get($name);

TypedConfigManagerInterface::getDefinition

public TypedConfigManagerInterface::getDefinition($plugin_id, $exception_on_invalid = TRUE) Gets a specific plugin definition. Parameters string $plugin_id: A plugin id. bool $exception_on_invalid: Ignored with TypedConfigManagerInterface. Kept for compatibility with DiscoveryInterface. Return value array A plugin definition array. If the given plugin id does not have typed configuration definition assigned, the definition of an undefined element type is returned. Overrides DiscoveryInterface

TypedConfigManagerInterface::hasConfigSchema

public TypedConfigManagerInterface::hasConfigSchema($name) Checks if the configuration schema with the given config name exists. Parameters string $name: Configuration name. Return value bool TRUE if configuration schema exists, FALSE otherwise. File core/lib/Drupal/Core/Config/TypedConfigManagerInterface.php, line 57 Class TypedConfigManagerInterface Defines an interface for managing config schema type plugins. Namespace Drupal\Core\Config Code public function hasConfigSchema($name)

TypedConfigManagerInterface

Defines an interface for managing config schema type plugins. Hierarchy interface \Drupal\Component\Plugin\PluginManagerInterface; interface \Drupal\Component\Plugin\Discovery\CachedDiscoveryInterfaceinterface \Drupal\Core\TypedData\TypedDataManagerInterfaceinterface \Drupal\Core\Config\TypedConfigManagerInterface See also \Drupal\Core\Config\TypedConfigManager \Drupal\Core\Config\Schema\ConfigSchemaDiscovery hook_config_schema_info_alter() https://www.drupal.org/node/1905070 File core/li

TypedConfigManager::replaceVariable

protected TypedConfigManager::replaceVariable($value, $data) Replaces variable values in included names with configuration data. Variable values are nested configuration keys that will be replaced by their value or some of these special strings: '%key', will be replaced by the element's key. '%parent', to reference the parent element. '%type', to reference the schema definition type. Can only be used in combination with %parent. There may be nested configuration keys separated by dots or more

TypedConfigManager::__construct

public TypedConfigManager::__construct(StorageInterface $configStorage, StorageInterface $schemaStorage, CacheBackendInterface $cache, ModuleHandlerInterface $module_handler) Creates a new typed configuration manager. Parameters \Drupal\Core\Config\StorageInterface $configStorage: The storage object to use for reading schema data \Drupal\Core\Config\StorageInterface $schemaStorage: The storage object to use for reading schema data \Drupal\Core\Cache\CacheBackendInterface $cache: The cache back