From 3f7be6b880fe12612a9d4625555bc24bb10ab010 Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Sun, 9 Aug 2015 01:39:49 +0100
Subject: [PATCH] Issue #2548081 by chx: Remove unused
 Map::getPropertyDefinitions

---
 .../Drupal/Core/TypedData/Plugin/DataType/Map.php  | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)

diff --git a/core/lib/Drupal/Core/TypedData/Plugin/DataType/Map.php b/core/lib/Drupal/Core/TypedData/Plugin/DataType/Map.php
index 7694db550ed1..a06b9e3e2ed4 100644
--- a/core/lib/Drupal/Core/TypedData/Plugin/DataType/Map.php
+++ b/core/lib/Drupal/Core/TypedData/Plugin/DataType/Map.php
@@ -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}
    */
-- 
GitLab