PagePermissions::moveable()

Is the given page moveable (i.e. change parent)?

Without arguments, it just checks that the user is allowed to move the page (not where they are allowed to) Optionally specify a $parent page as the first argument to check if they are allowed to move to that parent.

Usage

$pagePermissions->moveable(HookEvent $event);

Arguments

NameType(s)Description
$eventHookEvent

PagePermissions methods and properties

API reference based on ProcessWire core version 3.0.251