Skip to content
Snippets Groups Projects
Commit 3f7be6b8 authored by Alex Pott's avatar Alex Pott
Browse files

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

parent 56475873
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -18,7 +18,8 @@
* 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}
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment