summaryrefslogtreecommitdiffstats
path: root/core/lib/Drupal/Core/TypedData/ListInterface.php
diff options
context:
space:
mode:
authorcatch2013-01-02 11:51:19 (GMT)
committercatch2013-01-02 11:51:19 (GMT)
commitc96966f079533c333260fb3051fb890ab186a027 (patch)
treeecbaf771caa224e02dd6347a4844e606319eb794 /core/lib/Drupal/Core/TypedData/ListInterface.php
parent85c8d12ec9b1c8f3e2857b5ca5489cd202379d9d (diff)
Issue #1869250 by fago, Berdir, das-peter, YesCT, mradcliffe, fubhy: Various EntityNG and TypedData API improvements.
Diffstat (limited to 'core/lib/Drupal/Core/TypedData/ListInterface.php')
-rw-r--r--core/lib/Drupal/Core/TypedData/ListInterface.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/core/lib/Drupal/Core/TypedData/ListInterface.php b/core/lib/Drupal/Core/TypedData/ListInterface.php
index 4ce6af0..f6f906b 100644
--- a/core/lib/Drupal/Core/TypedData/ListInterface.php
+++ b/core/lib/Drupal/Core/TypedData/ListInterface.php
@@ -2,7 +2,7 @@
/**
* @file
- * Definition of Drupal\Core\TypedData\ListInterface.
+ * Contains \Drupal\Core\TypedData\ListInterface.
*/
namespace Drupal\Core\TypedData;
@@ -29,4 +29,12 @@ interface ListInterface extends ArrayAccess, Countable, Traversable {
* TRUE if the list is empty, FALSE otherwise.
*/
public function isEmpty();
+
+ /**
+ * Gets the definition of a contained item.
+ *
+ * @return array
+ * The data definition of contained items.
+ */
+ public function getItemDefinition();
}