You are here

public property CommerceEntityTrait::$entity_types in Commerce Core 8.2

The content entity types that can have this trait.

The bundle entities of the content entity type will reference the trait, and receive any fields it defines.

When empty, defaults to all content entity types.

Type: array

File

src/Annotation/CommerceEntityTrait.php, line 44

Class

CommerceEntityTrait
Defines the entity trait plugin annotation object.

Namespace

Drupal\commerce\Annotation

Code

public $entity_types;