You are here

Classes, traits, and interfaces in Commerce Stock 8

Primary tabs

Namesort descending Type Namespace Location Description Direct uses Use statements Strings
AbsoluteStockLevelWidget class Drupal\commerce_stock_field\Plugin\Field\FieldWidget modules/field/src/Plugin/Field/FieldWidget/AbsoluteStockLevelWidget.php Plugin implementation of the 'absolute_commerce_stock_level' widget.
AlwaysInStock class Drupal\commerce_stock src/AlwaysInStock.php The Checker and updater implementation for the always in stock service.
AlwaysInStockService class Drupal\commerce_stock src/AlwaysInStockService.php A stock service for always in stock products. 2
CommerceLocalStockTransactionSubscriber class Drupal\commerce_stock_local\EventSubscriber modules/local_storage/src/EventSubscriber/CommerceLocalStockTransactionSubscriber.php Test class to test the commerce_stock transaction events. 2
CommerceStockKernelTestBase abstract class Drupal\Tests\commerce_stock\Kernel tests/src/Kernel/CommerceStockKernelTestBase.php Base class for Commerce Stock kernel tests. 9 8
CommerceStockTransactionSubscriber class Drupal\commerce_stock_local_test\EventSubscriber modules/local_storage/tests/modules/commerce_stock_local_test/src/EventSubscriber/CommerceStockTransactionSubscriber.php Test class to test the commerce_stock transaction events. 2
ContextCreatorTrait trait Drupal\commerce_stock src/ContextCreatorTrait.php Provides trait to create a commerce context object from a purchasable entity. 4
CoreStockEvents class Drupal\commerce_stock\Plugin\StockEvents src/Plugin/StockEvents/CoreStockEvents.php Core Stock Events. 1
CoreStockEventsBase abstract class Drupal\commerce_stock\Plugin\StockEvents src/Plugin/StockEvents/CoreStockEventsBase.php Core stock events base class. 1
CronConfigForm class Drupal\commerce_stock_local\Form modules/local_storage/src/Form/CronConfigForm.php Class CronConfigForm. 1
DisabledStockEvents class Drupal\commerce_stock\Plugin\StockEvents src/Plugin/StockEvents/DisabledStockEvents.php Core Stock Events.
EnforcementBrowserTest class Drupal\Tests\commerce_stock_enforcement\Functional modules/enforcement/tests/src/Functional/EnforcementBrowserTest.php Tests out of stock functionality.
EnforcementBrowserTestBase abstract class Drupal\Tests\commerce_stock_enforcement\Functional modules/enforcement/tests/src/Functional/EnforcementBrowserTestBase.php Defines base class for commerce_stock_enforcement test cases. 2
EnforcementKernelTestBase abstract class Drupal\Tests\commerce_stock_enforcement\Kernel modules/enforcement/tests/src/Kernel/EnforcementKernelTestBase.php Defines base class for commerce_stock_enforcement test cases.
FilterLocationsEvent class Drupal\commerce_stock_local\Event modules/local_storage/src/Event/FilterLocationsEvent.php Defines the filter locations event. 1
LocalStockChecker class Drupal\commerce_stock_local modules/local_storage/src/LocalStockChecker.php The stock checker implementation for the local stock module. 2
LocalStockEvents final class Drupal\commerce_stock_local\Event modules/local_storage/src/Event/LocalStockEvents.php List of stock location events. 1
LocalStockLocationInterface interface Drupal\commerce_stock_local\Entity modules/local_storage/src/Entity/LocalStockLocationInterface.php Provides an interface for defining local stock location entities. 1 1
LocalStockService class Drupal\commerce_stock_local modules/local_storage/src/LocalStockService.php The Local stock Service class. 1 2
LocalStockServiceConfig class Drupal\commerce_stock_local modules/local_storage/src/LocalStockServiceConfig.php The local stock service configuration class. 2
LocalStockServiceTest class Drupal\Tests\commerce_stock_local\Kernel modules/local_storage/tests/src/Kernel/LocalStockServiceTest.php Tests the local stock service.
LocalStockTransactionEvent class Drupal\commerce_stock_local\Event modules/local_storage/src/Event/LocalStockTransactionEvent.php Defines the stock location event. 3
LocalStockTransactionEvents final class Drupal\commerce_stock_local\Event modules/local_storage/src/Event/LocalStockTransactionEvents.php List of local stock transaction events. 3
LocalStockUninstallValidator class Drupal\commerce_stock_local modules/local_storage/src/LocalStockUninstallValidator.php Provides link to delete commerce_stock_local field values. 2
LocalStockUpdater class Drupal\commerce_stock_local modules/local_storage/src/LocalStockUpdater.php Class LocalStockUpdater. 2
LocalStockUpdaterTest class Drupal\Tests\commerce_stock_local\Kernel modules/local_storage/tests/src/Kernel/LocalStockUpdaterTest.php Testing the local stock updater.
OrderCancel class Drupal\commerce_stock\Plugin\Commerce\StockEventType src/Plugin/Commerce/StockEventType/OrderCancel.php Provides the order place event type.
OrderDelete class Drupal\commerce_stock\Plugin\Commerce\StockEventType src/Plugin/Commerce/StockEventType/OrderDelete.php Provides the order delete event type.
OrderEventsTransactionsTest class Drupal\Tests\commerce_stock_local\Kernel modules/local_storage/tests/src/Kernel/OrderEventsTransactionsTest.php Ensure the stock transactions are performed on order events.
OrderEventSubscriber class Drupal\commerce_stock\EventSubscriber src/EventSubscriber/OrderEventSubscriber.php Performs stock transactions on order and order item events. 1 2
OrderEventTransactionsKernelTest class Drupal\Tests\commerce_stock_local\Kernel modules/local_storage/tests/src/Kernel/OrderEventTransactionsKernelTest.php Ensure the stock transactions are performed on order events.
OrderItemDelete class Drupal\commerce_stock\Plugin\Commerce\StockEventType src/Plugin/Commerce/StockEventType/OrderItemDelete.php Provides the order item delete event type.
OrderItemUpdate class Drupal\commerce_stock\Plugin\Commerce\StockEventType src/Plugin/Commerce/StockEventType/OrderItemUpdate.php Provides the order item update event type.
OrderPlace class Drupal\commerce_stock\Plugin\Commerce\StockEventType src/Plugin/Commerce/StockEventType/OrderPlace.php Provides the order place event type.
OrderUpdate class Drupal\commerce_stock\Plugin\Commerce\StockEventType src/Plugin/Commerce/StockEventType/OrderUpdate.php Provides the order place event type.
OutOfStockTest class Drupal\Tests\commerce_stock_enforcement\Functional modules/enforcement/tests/src/Functional/OutOfStockTest.php Tests out of stock functionality.
PrepareUninstallForm class Drupal\commerce_stock_local\Form modules/local_storage/src/Form/PrepareUninstallForm.php The always in stock field uninstall form. 1
ProductAdminTest class Drupal\Tests\commerce_stock\Functional tests/src/Functional/ProductAdminTest.php Test that the product creation form contains the stock settings fields.
SimpleStockLevelFormatter class Drupal\commerce_stock_field\Plugin\Field\FieldFormatter modules/field/src/Plugin/Field/FieldFormatter/SimpleStockLevelFormatter.php Plugin implementation of the 'commerce_stock_level_simple' formatter.
SimpleStockLevelWidget class Drupal\commerce_stock_field\Plugin\Field\FieldWidget modules/field/src/Plugin/Field/FieldWidget/SimpleStockLevelWidget.php Plugin implementation of the 'commerce_stock_level' widget.
SimpleStockTransactionWidget class Drupal\commerce_stock_field\Plugin\Field\FieldWidget modules/field/src/Plugin/Field/FieldWidget/SimpleStockTransactionWidget.php Plugin implementation of the 'commerce_stock_level_simple_transaction' widget.
StockAvailabilityChecker class Drupal\commerce_stock src/StockAvailabilityChecker.php The entry point for availability checking through Commerce Stock. 2
StockBrowserTestBase abstract class Drupal\Tests\commerce_stock\Functional tests/src/Functional/StockBrowserTestBase.php Defines base class for commerce stock test cases. 4 2
StockCheckInterface interface Drupal\commerce_stock src/StockCheckInterface.php The stock checker interface. 2 4
StockConfigForm class Drupal\commerce_stock\Form src/Form/StockConfigForm.php The stock configuration form. 1
StockEnforcementConfigForm class Drupal\commerce_stock_enforcement\Form modules/enforcement/src/Form/StockEnforcementConfigForm.php The stock enforcement configuration form. 1
StockEvents class Drupal\commerce_stock\Annotation src/Annotation/StockEvents.php Defines a Stock events item annotation object.
StockEventsInterface interface Drupal\commerce_stock\Plugin src/Plugin/StockEventsInterface.php Defines an interface for Stock events plugins. 2 3
StockEventsManager class Drupal\commerce_stock src/StockEventsManager.php Provides the default stock_events manager. 1 2
StockEventsManagerInterface interface Drupal\commerce_stock src/StockEventsManagerInterface.php Defines an interface for stock_events managers. 1 2

Pages

Other projects