public function StockLocation::getName in Commerce Stock 8
Gets the stock location name.
Return value
string Name of the stock location.
Overrides LocalStockLocationInterface::getName
File
- modules/
local_storage/ src/ Entity/ StockLocation.php, line 86
Class
- StockLocation
- Defines the stock location entity.
Namespace
Drupal\commerce_stock_local\EntityCode
public function getName() {
return $this
->get('name')->value;
}