Added Entity and Entity Reference Revisions which got dropped somewhere along the...
[yaffs-website] / web / modules / contrib / entity_reference_revisions / src / Plugin / DataType / EntityRevisionsAdapter.php
1 <?php
2
3 namespace Drupal\entity_reference_revisions\Plugin\DataType;
4
5 use Drupal\Core\TypedData\ComplexDataInterface;
6 use Drupal\Core\Entity\Plugin\DataType\EntityAdapter;
7
8 /**
9  * Defines the "entity" data type.
10  *
11  * Instances of this class wrap entity objects and allow to deal with entities
12  * based upon the Typed Data API.
13  *
14  * In addition to the "entity" data type, this exposes derived
15  * "entity:$entity_type" and "entity:$entity_type:$bundle" data types.
16  *
17  * @DataType(
18  *   id = "entity_revision",
19  *   label = @Translation("Entity Revision"),
20  *   description = @Translation("All kind of entities with revision information, e.g. nodes, comments or users."),
21  *   deriver = "\Drupal\Core\Entity\Plugin\DataType\Deriver\EntityDeriver",
22  *   definition_class = "\Drupal\entity_reference_revisions\TypedData\EntityRevisionDataDefinition"
23  * )
24  */
25 class EntityRevisionsAdapter extends EntityAdapter implements \IteratorAggregate, ComplexDataInterface {
26
27 }