EntityReferenceItemBase.php
Namespace
Drupal\Core\Field\Plugin\Field\FieldTypeFile
- 
              core/lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ EntityReferenceItemBase.php 
View source
<?php
namespace Drupal\Core\Field\Plugin\Field\FieldType;
use Drupal\Core\Field\FieldItemBase;
/**
 * Base class for field items referencing other entities.
 *
 * Any field type that is an entity reference should extend from this class in
 * order to remain backwards compatible with any changes added in the future
 * to EntityReferenceItemInterface.
 */
abstract class EntityReferenceItemBase extends FieldItemBase implements EntityReferenceItemInterface {
}Classes
| Title | Deprecated | Summary | 
|---|---|---|
| EntityReferenceItemBase | Base class for field items referencing other entities. | 
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
