public function PriceListItem::getName in Commerce Pricelist 8
Gets the price list item name.
Return value
string Name of the price list item.
Overrides PriceListItemInterface::getName
File
- src/
Entity/ PriceListItem.php, line 90
Class
- PriceListItem
- Defines the price list item entity.
Namespace
Drupal\commerce_pricelist\EntityCode
public function getName() {
return $this
->get('name')->value;
}