You are here

public function CommerceBundleEntityInterface::getTraits in Commerce Core 8.2

Gets the traits.

Return value

array The trait plugin IDs.

1 method overrides CommerceBundleEntityInterface::getTraits()
CommerceBundleEntityBase::getTraits in src/Entity/CommerceBundleEntityBase.php
Gets the traits.

File

src/Entity/CommerceBundleEntityInterface.php, line 22

Class

CommerceBundleEntityInterface
Provides the interface for Commerce bundle entities.

Namespace

Drupal\commerce\Entity

Code

public function getTraits();