You are here

public function LocalStockLocationInterface::isActive in Commerce Stock 8

Returns the stock location published status indicator.

Unpublished stock location are only visible to restricted users.

Return value

bool TRUE if the stock location is active.

1 method overrides LocalStockLocationInterface::isActive()
StockLocation::isActive in modules/local_storage/src/Entity/StockLocation.php
Returns the stock location published status indicator.

File

modules/local_storage/src/Entity/LocalStockLocationInterface.php, line 48

Class

LocalStockLocationInterface
Provides an interface for defining local stock location entities.

Namespace

Drupal\commerce_stock_local\Entity

Code

public function isActive();