Is the page trashable by the current user?
Optionally specify boolean true for first argument to make this method behave as: "Is page deleteable OR trashable?"
Usage
$pagePermissions->trashable(HookEvent $event);
Arguments
Name | Type(s) | Description |
---|---|---|
event | HookEvent |
PagePermissions methods and properties
API reference based on ProcessWire core version 3.0.236