You are here

public function CommerceBundleEntityBase::getTraits in Commerce Core 8.2

Gets the traits.

Return value

array The trait plugin IDs.

Overrides CommerceBundleEntityInterface::getTraits

File

src/Entity/CommerceBundleEntityBase.php, line 43

Class

CommerceBundleEntityBase
Provides the base class for Commerce bundle entities.

Namespace

Drupal\commerce\Entity

Code

public function getTraits() {
  return $this->traits;
}