public function Mapping::getPropertyDefinitions

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

Overrides ComplexDataInterface::getPropertyDefinitions

File

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

Class

Mapping
Defines a mapping configuration element.

Namespace

Drupal\Core\Config\Schema

Code

public function getPropertyDefinitions() {
  $list = array();
  foreach ($this
    ->getAllKeys() as $key) {
    $list[$key] = $this
      ->getPropertyDefinition($key);
  }
  return $list;
}