entity_reference_inline-8.x-1.x-dev/src/Plugin/DataType/EntityInlineAdapter.php
src/Plugin/DataType/EntityInlineAdapter.php
<?php
namespace Drupal\entity_reference_inline\Plugin\DataType;
use Drupal\Core\Entity\Plugin\DataType\EntityAdapter;
/**
* Defines the "entity" data type.
*
* Instances of this class wrap entity objects and allow to deal with entities
* based upon the Typed Data API.
*
* In addition to the "entity" data type, this exposes derived
* "entity:$entity_type" and "entity:$entity_type:$bundle" data types.
*
* @DataType(
* id = "entity_inline",
* label = @Translation("Entity Inline"),
* description = @Translation("All kind of entities, e.g. nodes, comments or users."),
* deriver = "\Drupal\Core\Entity\Plugin\DataType\Deriver\EntityDeriver",
* definition_class = "\Drupal\entity_reference_inline\TypedData\EntityInlineDataDefinition"
* )
*/
class EntityInlineAdapter extends EntityAdapter {
}
