Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/Annotation/EntityType.php \Drupal\Core\Entity\Annotation\EntityType::entity_type_class
  2. 9 core/lib/Drupal/Core/Entity/Annotation/EntityType.php \Drupal\Core\Entity\Annotation\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';