Issue #2548081 by chx: Remove unused Map::getPropertyDefinitions
parent
56475873b2
commit
3f7be6b880
|
@ -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}
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue