You are here

public function StockLocationEvent::getStockLocation in Commerce Stock 8

Gets the stock location.

Return value

\Drupal\commerce_stock_local\Entity\LocalStockLocationInterface The local stock location.

File

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

Class

StockLocationEvent
Defines the stock location event.

Namespace

Drupal\commerce_stock_local\Event

Code

public function getStockLocation() {
  return $this->stockLocation;
}