You are here

public function StockLocationEvent::__construct in Commerce Stock 8

Constructs a new stock location event.

Parameters

\Drupal\commerce_stock_local\Entity\LocalStockLocationInterface $stock_location: The local stock location.

File

modules/local_storage/src/Event/StockLocationEvent.php, line 29

Class

StockLocationEvent
Defines the stock location event.

Namespace

Drupal\commerce_stock_local\Event

Code

public function __construct(LocalStockLocationInterface $stock_location) {
  $this->stockLocation = $stock_location;
}