You are here

public function LocalStockLocationInterface::setName in Commerce Stock 8

Sets the stock location name.

Parameters

string $name: The stock location name.

Return value

\Drupal\commerce_stock_local\Entity\LocalStockLocationInterface The called stock location entity.

1 method overrides LocalStockLocationInterface::setName()
StockLocation::setName in modules/local_storage/src/Entity/StockLocation.php
Sets the stock location name.

File

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

Class

LocalStockLocationInterface
Provides an interface for defining local stock location entities.

Namespace

Drupal\commerce_stock_local\Entity

Code

public function setName($name);