summaryrefslogtreecommitdiffstats
path: root/core/lib/Drupal/Core/TypedData/DataReferenceDefinitionInterface.php
blob: f209a8fbd236e3e29a7323406d8da22e86e48574 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php

namespace Drupal\Core\TypedData;

/**
 * Interface for typed data references.
 *
 * @see \Drupal\Core\TypedData\DataReferenceDefinition
 * @see \Drupal\Core\TypedData\DataReferenceInterface
 *
 * @ingroup typed_data
 */
interface DataReferenceDefinitionInterface extends DataDefinitionInterface {

  /**
   * Gets the data definition of the referenced data.
   *
   * @return \Drupal\Core\TypedData\DataDefinitionInterface
   *   The data definition of the referenced data.
   */
  public function getTargetDefinition();

}