public function StockLocationInterface::getId in Commerce Stock 8
Gets the stock location id.
Return value
int The id of the location.
1 method overrides StockLocationInterface::getId()
- StockLocation::getId in modules/
local_storage/ src/ Entity/ StockLocation.php - Gets the stock location id.
File
- src/
StockLocationInterface.php, line 19
Class
- StockLocationInterface
- Provides an interface for defining stock locations.
Namespace
Drupal\commerce_stockCode
public function getId();