function MapDataDefinition::getPropertyDefinitions

Same name in other branches
  1. 9 core/lib/Drupal/Core/TypedData/MapDataDefinition.php \Drupal\Core\TypedData\MapDataDefinition::getPropertyDefinitions()
  2. 8.9.x core/lib/Drupal/Core/TypedData/MapDataDefinition.php \Drupal\Core\TypedData\MapDataDefinition::getPropertyDefinitions()
  3. 10 core/lib/Drupal/Core/TypedData/MapDataDefinition.php \Drupal\Core\TypedData\MapDataDefinition::getPropertyDefinitions()

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 = [];
    }
    return $this->propertyDefinitions;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.