public function License::getExpirationPluginType in Commerce License 8.2
Gets the type of expiration this license uses.
Return value
string The ID of the recurring_period plugin.
Overrides LicenseInterface::getExpirationPluginType
File
- src/
Entity/ License.php, line 157
Class
- License
- Defines the License entity.
Namespace
Drupal\commerce_license\EntityCode
public function getExpirationPluginType() {
return $this
->get('expiration_type')->target_plugin_id;
}