FieldtypePageTable::hookPagesDeleteReady()

Hook called when a page is about to be deleted

This automatically trashes the PageTable pages that a deleted page owns, if the unpubOnDelete option is true. This is really only applicable when PageTable pages are stored somewhere other than as children of the deleted page.

Usage

$fieldtypePageTable->hookPagesDeleteReady(HookEvent $event);

Arguments

NameType(s)Description
$eventHookEvent

FieldtypePageTable methods and properties

API reference based on ProcessWire core version 3.0.253