public function FilterLocationsEvent::getLocations in Commerce Stock 8
Gets the enabled stock locations.
Return value
\Drupal\commerce_stock_local\Entity\LocalStockLocationInterface[] Array of local stock locations.
File
- modules/
local_storage/ src/ Event/ FilterLocationsEvent.php, line 49
Class
- FilterLocationsEvent
- Defines the filter locations event.
Namespace
Drupal\commerce_stock_local\EventCode
public function getLocations() {
return $this->locations;
}