You are here

public function PriceList::getName in Commerce Pricelist 8

Same name and namespace in other branches
  1. 8.2 src/Entity/PriceList.php \Drupal\commerce_pricelist\Entity\PriceList::getName()

Gets the price list name.

Return value

string Name of the price list.

Overrides PriceListInterface::getName

File

src/Entity/PriceList.php, line 89

Class

PriceList
Defines the Price list entity.

Namespace

Drupal\commerce_pricelist\Entity

Code

public function getName() {
  return $this
    ->get('name')->value;
}