You are here

public function CommerceBundleEntityInterface::isLocked in Commerce Core 8.2

Gets whether the bundle is locked.

Locked bundles cannot be deleted.

Return value

bool TRUE if the bundle is locked, FALSE otherwise.

1 method overrides CommerceBundleEntityInterface::isLocked()
CommerceBundleEntityBase::isLocked in src/Entity/CommerceBundleEntityBase.php
Gets whether the bundle is locked.

File

src/Entity/CommerceBundleEntityInterface.php, line 50

Class

CommerceBundleEntityInterface
Provides the interface for Commerce bundle entities.

Namespace

Drupal\commerce\Entity

Code

public function isLocked();