$page->isDeletable()

Checks if the page is deletable

  • return (boolean)

Example

<?php if($page->isDeletable()): ?>
This page could be deleted,
but you probably wouldn't want that, right?
<?php endif ?>