Source of file HeadingPage.php
Size: 0,662 Bytes - Last Modified: 2021-12-24T05:19:26+00:00
/var/www/docs.ssmods.com/process/src/src/HeadingPage.php
12345678910111213141516171819202122232425262728293031 | <?php // The purpose of this page is simply to redirect to the first // child page, or the home page if there's none namespace IQnection\HeadingPage; class HeadingPage extends \Page { private static $table_name = 'HeadingPage'; private static $icon = "iqnection/silverstripe-heading-page:client/images/icon-heading-file.gif"; private static $search_config = array( "ignore_in_search" => true ); private static $defaults = array( 'ShowInSearch' => false ); public function getCMSFields() { $fields = parent::getCMSFields(); $fields->removeFieldFromTab("Root", "Content"); $this->extend('updateCMSFields',$fields); return $fields; } } |