TypedConfigInterface

Interface for a typed configuration object that contains multiple elements.

A list of typed configuration contains any number of items whose type will depend on the configuration schema but also on the configuration data being parsed.

When implementing this interface which extends Traversable, make sure to list IteratorAggregate or Iterator before this interface in the implements clause.

Hierarchy

File

core/lib/Drupal/Core/Config/Schema/TypedConfigInterface.php, line 17

Namespace

Drupal\Core\Config\Schema

Members

Name Modifiers Type Description
TraversableTypedDataInterface::onChange public function React to changes to a child property or item.
TypedConfigInterface::get public function Gets a contained typed configuration element.
TypedConfigInterface::getElements public function Gets an array of contained elements.
TypedConfigInterface::isEmpty public function Determines whether the data structure is empty.
TypedConfigInterface::toArray public function Returns an array of all property values.
TypedDataInterface::applyDefaultValue public function Applies the default value.
TypedDataInterface::createInstance public static function Constructs a TypedData object given its definition and context.
TypedDataInterface::getConstraints public function Gets a list of validation constraints.
TypedDataInterface::getDataDefinition public function Gets the data definition.
TypedDataInterface::getName public function Returns the name of a property or item.
TypedDataInterface::getParent public function Returns the parent data structure; i.e. either complex data or a list.
TypedDataInterface::getPropertyPath public function Returns the property path of the data.
TypedDataInterface::getRoot public function Returns the root of the typed data tree.
TypedDataInterface::getString public function Returns a string representation of the data.
TypedDataInterface::getValue public function Gets the data value.
TypedDataInterface::setContext public function Sets the context of a property or item via a context aware parent.
TypedDataInterface::setValue public function Sets the data value.
TypedDataInterface::validate public function Validates the currently set data value.
doc_Drupal
2016-10-29 09:49:51
Comments
Leave a Comment

Please login to continue.