ArrayElement::getElementDefinition

protected abstract ArrayElement::getElementDefinition($key) Gets data definition object for contained element. Parameters int|string $key: Property name or index of the element. Return value \Drupal\Core\TypedData\DataDefinitionInterface File core/lib/Drupal/Core/Config/Schema/ArrayElement.php, line 49 Class ArrayElement Defines a generic configuration element that contains multiple properties. Namespace Drupal\Core\Config\Schema Code protected abstract function getElementDefinition(

ArrayElement::getAllKeys

protected ArrayElement::getAllKeys() Gets valid configuration data keys. Return value array Array of valid configuration data keys. File core/lib/Drupal/Core/Config/Schema/ArrayElement.php, line 21 Class ArrayElement Defines a generic configuration element that contains multiple properties. Namespace Drupal\Core\Config\Schema Code protected function getAllKeys() { return is_array($this->value) ? array_keys($this->value) : array(); }

ArrayElement::get

public ArrayElement::get($name) Gets a contained typed configuration element. Parameters $name: The name of the property to get; e.g., 'title' or 'name'. Nested elements can be get using multiple dot delimited names, for example, 'page.front'. Return value \Drupal\Core\TypedData\TypedDataInterface The property object. Throws \InvalidArgumentException If an invalid property name is given. Overrides TypedConfigInterface::get File core/lib/Drupal/Core/Config/Schema/ArrayElement.php, line 54

ArrayElement::createElement

protected ArrayElement::createElement($definition, $value, $key) Creates a contained typed configuration object. Parameters \Drupal\Core\TypedData\DataDefinitionInterface $definition: The data definition object. mixed $value: (optional) The data value. If set, it has to match one of the supported data type format as documented for the data type classes. string $key: The key of the contained element. Return value \Drupal\Core\TypedData\TypedDataInterface File core/lib/Drupal/Core/Config/Schema

ArrayElement::buildDataDefinition

protected ArrayElement::buildDataDefinition($definition, $value, $key) Creates a new data definition object from a type definition array and actual configuration data. Parameters array $definition: The base type definition array, for which a data definition should be created. $value: The value of the configuration element. string $key: The key of the contained element. Return value \Drupal\Core\TypedData\DataDefinitionInterface File core/lib/Drupal/Core/Config/Schema/ArrayElement.php, line 15

ArrayElement::$elements

Parsed elements. File core/lib/Drupal/Core/Config/Schema/ArrayElement.php, line 13 Class ArrayElement Defines a generic configuration element that contains multiple properties. Namespace Drupal\Core\Config\Schema Code protected $elements;

ArrayElement

Defines a generic configuration element that contains multiple properties. Hierarchy class \Drupal\Core\TypedData\TypedData implements PluginInspectionInterface, TypedDataInterface uses StringTranslationTrait, TypedDataTraitclass \Drupal\Core\Config\Schema\Elementclass \Drupal\Core\Config\Schema\ArrayElement implements \IteratorAggregate, TypedConfigInterface File core/lib/Drupal/Core/Config/Schema/ArrayElement.php, line 8 Namespace Drupal\Core\Config\Schema Members Name Modifiers

ArgumentsResolverInterface::getArguments

public ArgumentsResolverInterface::getArguments(callable $callable) Gets arguments suitable for passing to the given callable. Return value array An array of arguments to pass to the callable. Throws \RuntimeException When a value for an argument given cannot be resolved. File core/lib/Drupal/Component/Utility/ArgumentsResolverInterface.php, line 19 Class ArgumentsResolverInterface Resolves the arguments to pass to a callable. Namespace Drupal\Component\Utility Code public function g

ArgumentsResolverInterface

Resolves the arguments to pass to a callable. Hierarchy interface \Drupal\Component\Utility\ArgumentsResolverInterface File core/lib/Drupal/Component/Utility/ArgumentsResolverInterface.php, line 8 Namespace Drupal\Component\Utility Members Name Modifiers Type Description ArgumentsResolverInterface::getArguments public function Gets arguments suitable for passing to the given callable.

ArgumentsResolver::__construct

public ArgumentsResolver::__construct(array $scalars, array $objects, array $wildcards) Constructs a new ArgumentsResolver. Parameters array $scalars: An associative array of parameter names to scalar candidate values. object[] $objects: An associative array of parameter names to object candidate values. object[] $wildcards: An array object candidates tried on every parameter regardless of its name. File core/lib/Drupal/Component/Utility/ArgumentsResolver.php, line 42 Class ArgumentsResolv