public function Mapping::getPropertyDefinition

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

Overrides ComplexDataInterface::getPropertyDefinition

1 call to Mapping::getPropertyDefinition()

File

drupal/core/lib/Drupal/Core/Config/Schema/Mapping.php, line 103
Contains \Drupal\Core\Config\Schema\Mapping.

Class

Mapping
Defines a mapping configuration element.

Namespace

Drupal\Core\Config\Schema

Code

public function getPropertyDefinition($name) {
  if (isset($this->definition['mapping'][$name])) {
    return $this->definition['mapping'][$name];
  }
  else {
    return FALSE;
  }
}