You are here

Classes, traits, and interfaces in Commerce License 8.2

Primary tabs

Namesort descending Type Namespace Location Description Direct uses Use statements Strings
CommerceAvailabilityExistingRightsTest class Drupal\Tests\commerce_license\Kernel tests/src/Kernel/CommerceAvailabilityExistingRightsTest.php Tests a product is not added to the cart when the user has existing rights.
CommerceLicenseSetExpiryTest class Drupal\commerce_license_set_expiry_test\Plugin\RecurringPeriod tests/modules/commerce_license_set_expiry_test/src/Plugin/RecurringPeriod/CommerceLicenseSetExpiryTest.php Provides the expiry test recurring period.
CommerceLicenseType class Drupal\commerce_license\Annotation src/Annotation/CommerceLicenseType.php Defines the license type plugin annotation object. 1
CommerceOrderSyncTest class Drupal\Tests\commerce_license\Kernel tests/src/Kernel/CommerceOrderSyncTest.php Tests changes to an order are synchronized to the license.
CommerceRecurringSubscriptionLifecycleTest class Drupal\Tests\commerce_license\Kernel tests/src/Kernel/CommerceRecurringSubscriptionLifecycleTest.php Tests Commerce Recurring's subscription lifecycle with a license.
Cron class Drupal\commerce_license src/Cron.php Default cron implementation. 2
CronInterface interface Drupal\commerce_license src/CronInterface.php Provides the interface for the License module's cron. 1
EntityLabel class Drupal\commerce_license\Plugin\views\field src/Plugin/views/field/EntityLabel.php Field handler to display entity label optionally linked to entity page.
ExistingRightsCheckConfig class Drupal\commerce_license_test\Plugin\Commerce\LicenseType tests/modules/commerce_license_test/src/Plugin/Commerce/LicenseType/ExistingRightsCheckConfig.php Test license type which reports the user has existing rights.
ExistingRightsFromConfigurationCheckingInterface interface Drupal\commerce_license\Plugin\Commerce\LicenseType src/Plugin/Commerce/LicenseType/ExistingRightsFromConfigurationCheckingInterface.php Interface for license types that check for existing rights using config. 3 3
ExistingRightsResult class Drupal\commerce_license\ExistingRights src/ExistingRights/ExistingRightsResult.php Represents the result of a check for a user's existing rights. 3
FormAlterInterface interface Drupal\commerce_license\FormAlter src/FormAlter/FormAlterInterface.php 1
GrantedEntityFormAlter class Drupal\commerce_license\FormAlter src/FormAlter/GrantedEntityFormAlter.php Alters entity forms for entities that are affected by a license. 1
GrantedEntityLockingInterface interface Drupal\commerce_license\Plugin\Commerce\LicenseType src/Plugin/Commerce/LicenseType/GrantedEntityLockingInterface.php Interface for license types that lock an aspect of the entities they grant. 1 1
License class Drupal\commerce_license\Entity src/Entity/License.php Defines the License entity.
LicenseAdminTest class Drupal\Tests\commerce_license\Functional tests/src/Functional/LicenseAdminTest.php Tests our traits validation logic, submission.
LicenseAdminTest class Drupal\Tests\commerce_license\FunctionalJavascript tests/src/FunctionalJavascript/LicenseAdminTest.php Tests the admin UI for licenses.
LicenseAvailabilityCheckerExistingRights class Drupal\commerce_license src/LicenseAvailabilityCheckerExistingRights.php Prevents purchase of a license that grants rights the user already has. 2
LicenseCheckoutForm class Drupal\commerce_license\Form src/Form/LicenseCheckoutForm.php Form controller for License edit forms.
LicenseCronExpiryTest class Drupal\Tests\commerce_license\Kernel\System tests/src/Kernel/LicenseCronExpiryTest.php Tests that cron expires a license.
LicenseDeletionTest class Drupal\Tests\commerce_license\Kernel tests/src/Kernel/LicenseDeletionTest.php Tests deleting a license revokes it.
LicenseExpirationFormatter class Drupal\commerce_license\Plugin\Field\FieldFormatter src/Plugin/Field/FieldFormatter/LicenseExpirationFormatter.php Plugin implementation of the 'commerce_license_expiration' formatter.
LicenseExpirationTypeWithSubscriptionConstraint class Drupal\commerce_license\Plugin\Validation\Constraint src/Plugin/Validation/Constraint/LicenseExpirationTypeWithSubscriptionConstraint.php Ensures the license expiry type is unlimited when a subscription is used.
LicenseExpirationTypeWithSubscriptionConstraintValidator class Drupal\commerce_license\Plugin\Validation\Constraint src/Plugin/Validation/Constraint/LicenseExpirationTypeWithSubscriptionConstraintValidator.php Validates the LicenseExpirationTypeWithSubscription constraint.
LicenseExpire class Drupal\commerce_license\Plugin\AdvancedQueue\JobType src/Plugin/AdvancedQueue/JobType/LicenseExpire.php Provides the job type for expiring licenses.
LicenseExpireNotify class Drupal\commerce_license\Plugin\AdvancedQueue\JobType src/Plugin/AdvancedQueue/JobType/LicenseExpireNotify.php Provides the job type to send an email notification of license expiry.
LicenseForm class Drupal\commerce_license\Form src/Form/LicenseForm.php Form controller for License edit forms.
LicenseGrantSetFieldTest class Drupal\Tests\commerce_license\Kernel tests/src/Kernel/LicenseGrantSetFieldTest.php Tests the a field can be set on the license when granted and revoked.
LicenseInterface interface Drupal\commerce_license\Entity src/Entity/LicenseInterface.php Provides an interface for License entities. 1 9
LicenseListBuilder class Drupal\commerce_license src/LicenseListBuilder.php Defines a class to build a listing of License entities.
LicenseMultiplesCartEventSubscriber class Drupal\commerce_license\EventSubscriber src/EventSubscriber/LicenseMultiplesCartEventSubscriber.php Ensures only 1 of each license may be added to the cart. 2
LicenseOrderProcessorMultiples class Drupal\commerce_license src/LicenseOrderProcessorMultiples.php Order processor that ensures only 1 of each license may be added to the cart. 2
LicensePermissionProvider class Drupal\commerce_license src/LicensePermissionProvider.php Provides permissions for the License entity.
LicenseRoleTypeTest class Drupal\Tests\commerce_license\Kernel tests/src/Kernel/LicenseRoleTypeTest.php Tests the role license type.
LicenseRouteProvider class Drupal\commerce_license src/LicenseRouteProvider.php Provides routes for the License entity.
LicenseSetExpiryTest class Drupal\Tests\commerce_license\Kernel tests/src/Kernel/LicenseSetExpiryTest.php Tests that a license gets its expiry date set when activated.
LicenseSettingsForm class Drupal\commerce_license\Form src/Form/LicenseSettingsForm.php Class LicenseSettingsForm.
LicenseStateChangeTest class Drupal\Tests\commerce_license\Kernel tests/src/Kernel/LicenseStateChangeTest.php Tests changes to the license state have the correct effects.
LicenseStateChangeTest class Drupal\commerce_license_test\Plugin\Commerce\LicenseType tests/modules/commerce_license_test/src/Plugin/Commerce/LicenseType/LicenseStateChangeTest.php Provides a test license type.
LicenseStorage class Drupal\commerce_license src/LicenseStorage.php Defines the storage handler class for License entities.
LicenseStorageInterface interface Drupal\commerce_license src/LicenseStorageInterface.php Defines the storage handler class for License entities. 1
LicenseSubscription class Drupal\commerce_license\Plugin\Commerce\SubscriptionType src/Plugin/Commerce/SubscriptionType/LicenseSubscription.php Provides a Commerce Recurring subscription type for use with licenses.
LicenseSubscriptionTypeConstraint class Drupal\commerce_license\Plugin\Validation\Constraint src/Plugin/Validation/Constraint/LicenseSubscriptionTypeConstraint.php Ensures the license subscription type can only be used with a license trait.
LicenseSubscriptionTypeConstraintValidator class Drupal\commerce_license\Plugin\Validation\Constraint src/Plugin/Validation/Constraint/LicenseSubscriptionTypeConstraintValidator.php Validates the LicenseSubscriptionType constraint.
LicenseTypeBase abstract class Drupal\commerce_license\Plugin\Commerce\LicenseType src/Plugin/Commerce/LicenseType/LicenseTypeBase.php Provides the base license type class. 2 1
LicenseTypeInterface interface Drupal\commerce_license\Plugin\Commerce\LicenseType src/Plugin/Commerce/LicenseType/LicenseTypeInterface.php Defines the interface for license types. 2 3
LicenseTypeManager class Drupal\commerce_license src/LicenseTypeManager.php Manages discovery and instantiation of license type plugins. 1 2
LicenseTypeSynchronizableInterface interface Drupal\commerce_license\Plugin\Commerce\LicenseType src/Plugin/Commerce/LicenseType/LicenseTypeSynchronizableInterface.php Defines the interface for license types.
LicenseViewsData class Drupal\commerce_license src/LicenseViewsData.php Provides views data for the License entity type.
LicenseWithField class Drupal\commerce_license_test\Plugin\Commerce\LicenseType tests/modules/commerce_license_test/src/Plugin/Commerce/LicenseType/LicenseWithField.php License type for testing a field can be set when granting and revoking.

Pages

Other projects