MapDataDefinition::getPropertyDefinitions

public MapDataDefinition::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 ComplexDataDefinitionBase::getPropertyDefinitions

File

core/lib/Drupal/Core/TypedData/MapDataDefinition.php, line 40

Class

MapDataDefinition
A typed data definition class for defining maps.

Namespace

Drupal\Core\TypedData

Code

public function getPropertyDefinitions() {
  if (!isset($this->propertyDefinitions)) {
    $this->propertyDefinitions = array();
  }
  return $this->propertyDefinitions;
}
doc_Drupal
2016-10-29 09:25:32
Comments
Leave a Comment

Please login to continue.