You are here

public function PriceListInterface::getCustomerRoles in Commerce Pricelist 8.2

Gets the customer roles.

Return value

string[]|null The customer role IDs, or NULL if the price list is not limited to specific customer roles.

1 method overrides PriceListInterface::getCustomerRoles()
PriceList::getCustomerRoles in src/Entity/PriceList.php
Gets the customer roles.

File

src/Entity/PriceListInterface.php, line 119

Class

PriceListInterface
Defines the interface for price lists.

Namespace

Drupal\commerce_pricelist\Entity

Code

public function getCustomerRoles();