ComplexDataDefinitionBase::__sleep

public ComplexDataDefinitionBase::__sleep() File core/lib/Drupal/Core/TypedData/ComplexDataDefinitionBase.php, line 42 Class ComplexDataDefinitionBase Base class for complex data definitions. Namespace Drupal\Core\TypedData Code public function __sleep() { // Do not serialize the cached property definitions. $vars = get_object_vars($this); unset($vars['propertyDefinitions']); return array_keys($vars); }

ComplexDataDefinitionBase::getPropertyDefinitions

abstract public ComplexDataDefinitionBase::getPropertyDefinitions() Gets an array of property definitions of contained properties. Return value \Drupal\Core\TypedData\DataDefinitionInterface[] An array of property definitions of contained properties, keyed by property name. Overrides ComplexDataDefinitionInterface::getPropertyDefinitions File core/lib/Drupal/Core/TypedData/ComplexDataDefinitionBase.php, line 20 Class ComplexDataDefinitionBase Base class for complex data definitions. Nam

ComplexDataDefinitionInterface

Interface for complex data definitions. Hierarchy interface \Drupal\Core\TypedData\DataDefinitionInterfaceinterface \Drupal\Core\TypedData\ComplexDataDefinitionInterface See also \Drupal\Core\TypedData\ComplexDataInterface Related topics Typed Data API API for describing data based on a set of available data types. File core/lib/Drupal/Core/TypedData/ComplexDataDefinitionInterface.php, line 12 Namespace Drupal\Core\TypedData Members Name Modifiers Type Description ComplexD

ComplexDataDefinitionBase::getMainPropertyName

public ComplexDataDefinitionBase::getMainPropertyName() Returns the name of the main property, if any. Some field items consist mainly of one main property, e.g. the value of a text field or the target_id of an entity reference. If the field item has no main property, the method returns NULL. Return value string|null The name of the value property, or NULL if there is none. Overrides ComplexDataDefinitionInterface::getMainPropertyName File core/lib/Drupal/Core/TypedData/ComplexDataDefinition

ComplexDataDefinitionBase::getPropertyDefinition

public ComplexDataDefinitionBase::getPropertyDefinition($name) Gets the definition of a contained property. Parameters string $name: The name of property. Return value \Drupal\Core\TypedData\DataDefinitionInterface|null The definition of the property or NULL if the property does not exist. Overrides ComplexDataDefinitionInterface::getPropertyDefinition File core/lib/Drupal/Core/TypedData/ComplexDataDefinitionBase.php, line 25 Class ComplexDataDefinitionBase Base class for complex data de

ComplexDataDefinitionBase

Base class for complex data definitions. Hierarchy class \Drupal\Core\TypedData\DataDefinition implements \ArrayAccess, DataDefinitionInterfaceclass \Drupal\Core\TypedData\ComplexDataDefinitionBase implements ComplexDataDefinitionInterface File core/lib/Drupal/Core/TypedData/ComplexDataDefinitionBase.php, line 8 Namespace Drupal\Core\TypedData Members Name Modifiers Type Description ComplexDataDefinitionBase::$propertyDefinitions protected property An array of data defi

ComplexDataDefinitionBase::$propertyDefinitions

An array of data definitions. Type: \Drupal\Core\TypedData\DataDefinitionInterface[] File core/lib/Drupal/Core/TypedData/ComplexDataDefinitionBase.php, line 15 Class ComplexDataDefinitionBase Base class for complex data definitions. Namespace Drupal\Core\TypedData Code protected $propertyDefinitions;

CompiledRoute::getPatternOutline

public CompiledRoute::getPatternOutline() Returns the pattern outline of this route. The pattern outline of a route is the path pattern of the route, but normalized such that all placeholders are replaced with %. Return value string The normalized path pattern. File core/lib/Drupal/Core/Routing/CompiledRoute.php, line 106 Class CompiledRoute A compiled route contains derived information from a route object. Namespace Drupal\Core\Routing Code public function getPatternOutline() { ret

CompiledRoute::serialize

public CompiledRoute::serialize() Overrides CompiledRoute::serialize File core/lib/Drupal/Core/Routing/CompiledRoute.php, line 143 Class CompiledRoute A compiled route contains derived information from a route object. Namespace Drupal\Core\Routing Code public function serialize() { // Calling the parent method is safer than trying to optimize out the extra // function calls. $data = unserialize(parent::serialize()); $data['fit'] = $this->fit; $data['patternOutline'] = $thi

CompiledRoute::getOptions

public CompiledRoute::getOptions() Returns the options. Return value array The options. File core/lib/Drupal/Core/Routing/CompiledRoute.php, line 116 Class CompiledRoute A compiled route contains derived information from a route object. Namespace Drupal\Core\Routing Code public function getOptions() { return $this->route->getOptions(); }