W3cubDocs

/Drupal 8

public property EntityType::$entity_type_class

The class used to represent the entity type.

It must implement \Drupal\Core\Entity\EntityTypeInterface.

Type: string

File

core/lib/Drupal/Core/Entity/Annotation/EntityType.php, line 32

Class

EntityType
Defines an Entity type annotation object.

Namespace

Drupal\Core\Entity\Annotation

Code

public $entity_type_class = 'Drupal\Core\Entity\EntityType';

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!Annotation!EntityType.php/property/EntityType::entity_type_class/8.1.x