Issue #2548081 by chx: Remove unused Map::getPropertyDefinitions

8.0.x
Alex Pott 2015-08-09 01:39:49 +01:00
parent 56475873b2
commit 3f7be6b880
1 changed files with 2 additions and 12 deletions

View File

@ -18,7 +18,8 @@ use Drupal\Core\TypedData\ComplexDataInterface;
* complex data type.
*
* By default there is no metadata for contained properties. Extending classes
* may want to override Map::getPropertyDefinitions() to define it.
* may want to override MapDataDefinition::getPropertyDefinitions() to define
* it.
*
* @ingroup typed_data
*
@ -51,17 +52,6 @@ class Map extends TypedData implements \IteratorAggregate, ComplexDataInterface
*/
protected $properties = array();
/**
* Gets an array of property definitions of contained properties.
*
* @return \Drupal\Core\TypedData\DataDefinitionInterface[]
* An array of property definitions of contained properties, keyed by
* property name.
*/
protected function getPropertyDefinitions() {
return $this->definition->getPropertyDefinitions();
}
/**
* {@inheritdoc}
*/