You are here

public function EntityTraitInterface::getEntityTypeIds in Commerce Core 8.2

Gets the entity type IDs.

These are the entity types that can have this trait. If empty, defaults to all entity types.

Return value

string[] The entity type IDs.

1 method overrides EntityTraitInterface::getEntityTypeIds()
EntityTraitBase::getEntityTypeIds in src/Plugin/Commerce/EntityTrait/EntityTraitBase.php
Gets the entity type IDs.

File

src/Plugin/Commerce/EntityTrait/EntityTraitInterface.php, line 33

Class

EntityTraitInterface
Defines the interface for entity traits.

Namespace

Drupal\commerce\Plugin\Commerce\EntityTrait

Code

public function getEntityTypeIds();