You are here

public function StockLocation::getId in Commerce Stock 8

Gets the stock location id.

Return value

int The id of the location.

Overrides StockLocationInterface::getId

File

modules/local_storage/src/Entity/StockLocation.php, line 116

Class

StockLocation
Defines the stock location entity.

Namespace

Drupal\commerce_stock_local\Entity

Code

public function getId() {
  return $this
    ->id();
}