public function PriceListItem::setName in Commerce Pricelist 8
Sets the price list item name.
Parameters
string $name: The price list item name.
Return value
$this
Overrides PriceListItemInterface::setName
File
- src/
Entity/ PriceListItem.php, line 97
Class
- PriceListItem
- Defines the price list item entity.
Namespace
Drupal\commerce_pricelist\EntityCode
public function setName($name) {
$this
->set('name', $name);
return $this;
}