You are here

protected property Schema::$entityType in Schemata 8

The Entity Type this schema describes.

Key methods for serialization includes getLabel() and id().

Type: \Drupal\Core\Entity\EntityTypeInterface

See also

https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Entity%21...

File

src/Schema/Schema.php, line 37

Class

Schema
Schema class that describes a Drupal Entity or Entity Type.

Namespace

Drupal\schemata\Schema

Code

protected $entityType;