You are here

public function CommerceLicenseBase::suspend in Commerce License 7

Implements CommerceLicenseInterface::suspend().

Overrides CommerceLicenseInterface::suspend

1 method overrides CommerceLicenseBase::suspend()
CommerceLicenseRemoteBase::suspend in includes/plugins/license_type/base.inc
Overrides CommerceLicenseBase::suspend().

File

includes/plugins/license_type/base.inc, line 317
Abstract and interface plugin implementation.

Class

CommerceLicenseBase
License base class.

Code

public function suspend() {
  $this->status = COMMERCE_LICENSE_SUSPENDED;
  $this
    ->save();
}