public function LicenseInterface::getPurchasedEntity in Commerce License 8.2
Gets the licensed entity that was purchased.
Return value
\Drupal\commerce\PurchasableEntityInterface The licensed entity.
1 method overrides LicenseInterface::getPurchasedEntity()
- License::getPurchasedEntity in src/
Entity/ License.php - Gets the licensed entity that was purchased.
File
- src/
Entity/ LicenseInterface.php, line 130
Class
- LicenseInterface
- Provides an interface for License entities.
Namespace
Drupal\commerce_license\EntityCode
public function getPurchasedEntity();