You are here

public function PriceListInterface::setCustomerRoles in Commerce Pricelist 8.2

Sets the customer roles.

Parameters

string[] $rids: The role IDs.

Return value

$this

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

File

src/Entity/PriceListInterface.php, line 129

Class

PriceListInterface
Defines the interface for price lists.

Namespace

Drupal\commerce_pricelist\Entity

Code

public function setCustomerRoles(array $rids);