public function FieldCollectionItemHostRevisionsOperationCheck::__construct in Field collection 8
Same name and namespace in other branches
- 8.3 src/Access/FieldCollectionItemHostRevisionsOperationCheck.php \Drupal\field_collection\Access\FieldCollectionItemHostRevisionsOperationCheck::__construct()
Constructs a new FieldCollectionItemHostRevisionsOperationCheck.
Parameters
\Drupal\user\PermissionHandlerInterface $permission_handler: The permission handler.
File
- src/
Access/ FieldCollectionItemHostRevisionsOperationCheck.php, line 37
Class
- FieldCollectionItemHostRevisionsOperationCheck
- Determines access to revision operations on the field collection item's host.
Namespace
Drupal\field_collection\AccessCode
public function __construct(PermissionHandlerInterface $permission_handler) {
$this->permissionHandler = $permission_handler;
}