You are here

public function CommerceLicenseBase::activate in Commerce License 7

Implements CommerceLicenseInterface::activate().

Overrides CommerceLicenseInterface::activate

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

File

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

Class

CommerceLicenseBase
License base class.

Code

public function activate() {
  $this->status = COMMERCE_LICENSE_ACTIVE;
  $this
    ->save();
}