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\AccessCode
public function __construct(AddressBookInterface $address_book) {
$this->addressBook = $address_book;
}