You are here

public function CommerceBundleEntityBase::unlock in Commerce Core 8.2

Unlocks the bundle.

Return value

$this

Overrides CommerceBundleEntityInterface::unlock

File

src/Entity/CommerceBundleEntityBase.php, line 80

Class

CommerceBundleEntityBase
Provides the base class for Commerce bundle entities.

Namespace

Drupal\commerce\Entity

Code

public function unlock() {
  $this->locked = FALSE;
  return $this;
}