public function Map::getPropertyDefinition

Implements \Drupal\Core\TypedData\ComplexDataInterface::getPropertyDefinition().

Overrides ComplexDataInterface::getPropertyDefinition

1 call to Map::getPropertyDefinition()
Map::set in drupal/core/lib/Drupal/Core/TypedData/Type/Map.php
Implements \Drupal\Core\TypedData\ComplexDataInterface::set().

File

drupal/core/lib/Drupal/Core/TypedData/Type/Map.php, line 184
Contains \Drupal\Core\TypedData\Type\Map.

Class

Map
The "map" data type.

Namespace

Drupal\Core\TypedData\Type

Code

public function getPropertyDefinition($name) {
  $definitions = $this
    ->getPropertyDefinitions();
  if (isset($definitions[$name])) {
    return $definitions[$name];
  }
  else {
    return FALSE;
  }
}