You are here

public function PriceList::getName in Commerce Pricelist 8.2

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

Gets the price list name.

Return value

string The price list name.

Overrides PriceListInterface::getName

File

src/Entity/PriceList.php, line 80

Class

PriceList
Defines the Price list entity.

Namespace

Drupal\commerce_pricelist\Entity

Code

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