public function CommerceLicenseBase::revoke in Commerce License 7
Implements CommerceLicenseInterface::revoke().
Overrides CommerceLicenseInterface::revoke
1 method overrides CommerceLicenseBase::revoke()
- CommerceLicenseRemoteBase::revoke in includes/
plugins/ license_type/ base.inc - Overrides CommerceLicenseBase::revoke().
File
- includes/
plugins/ license_type/ base.inc, line 325 - Abstract and interface plugin implementation.
Class
- CommerceLicenseBase
- License base class.
Code
public function revoke() {
$this->status = COMMERCE_LICENSE_REVOKED;
$this
->save();
}