Version 1
[yaffs-website] / web / core / lib / Drupal / Core / TypedData / DataReferenceDefinitionInterface.php
1 <?php
2
3 namespace Drupal\Core\TypedData;
4
5 /**
6  * Interface for typed data references.
7  *
8  * @see \Drupal\Core\TypedData\DataReferenceDefinition
9  * @see \Drupal\Core\TypedData\DataReferenceInterface
10  *
11  * @ingroup typed_data
12  */
13 interface DataReferenceDefinitionInterface extends DataDefinitionInterface {
14
15   /**
16    * Gets the data definition of the referenced data.
17    *
18    * @return \Drupal\Core\TypedData\DataDefinitionInterface
19    *   The data definition of the referenced data.
20    */
21   public function getTargetDefinition();
22
23 }