You are here

public function AddressBookAccessCheck::__construct in Commerce Core 8.2

Constructs a new AddressBookAccessCheck object.

Parameters

\Drupal\commerce_order\AddressBookInterface $address_book: The address book.

File

modules/order/src/Access/AddressBookAccessCheck.php, line 32

Class

AddressBookAccessCheck
Checks address book access.

Namespace

Drupal\commerce_order\Access

Code

public function __construct(AddressBookInterface $address_book) {
  $this->addressBook = $address_book;
}