public function PriceList::setName in Commerce Pricelist 8.2
Same name and namespace in other branches
- 8 src/Entity/PriceList.php \Drupal\commerce_pricelist\Entity\PriceList::setName()
Sets the price list name.
Parameters
string $name: The price list name.
Return value
$this
Overrides PriceListInterface::setName
File
- src/
Entity/ PriceList.php, line 87
Class
- PriceList
- Defines the Price list entity.
Namespace
Drupal\commerce_pricelist\EntityCode
public function setName($name) {
$this
->set('name', $name);
return $this;
}