DataReferenceDefinitionInterface.php

Same filename in other branches
  1. 9 core/lib/Drupal/Core/TypedData/DataReferenceDefinitionInterface.php
  2. 10 core/lib/Drupal/Core/TypedData/DataReferenceDefinitionInterface.php
  3. 11.x core/lib/Drupal/Core/TypedData/DataReferenceDefinitionInterface.php

Namespace

Drupal\Core\TypedData

File

core/lib/Drupal/Core/TypedData/DataReferenceDefinitionInterface.php

View source
<?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();

}

Interfaces

Title Deprecated Summary
DataReferenceDefinitionInterface Interface for typed data references.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.