Symbiote\Multisites\Admin\MultisitesCMSMainExtension
Synopsis
class MultisitesCMSMainExtension
extends LeftAndMainExtension
{
- // members
- private static array $allowed_actions = ;
- private static Path $multisites_editor_css_dir = ;
- // methods
- public void getCMSTreeTitle()
- public void init()
- public Form AddSiteForm()
- public void doAddSite()
- public void updateEditForm()
- public void updateSearchForm()
- public void updateCurrentPageID()
Hierarchy
Extends
- SilverStripe\Admin\LeftAndMainExtension
Members
private
- $allowed_actions
- $multisites_editor_css_dir — Symbiote\Multisites\Admin\Path
Methods
public
- AddSiteForm() — AddSiteForm
- doAddSite() — AddSiteForm action to add a new site
- getCMSTreeTitle()
- init() — init (called from LeftAndMain extension hook)
- updateCurrentPageID() — Makes the default page id the first child of the current site This makes the site tree view load with the current site open instead of just the first one
- updateEditForm() — If viewing 'Site', disable preview panel.
- updateSearchForm() — Adds a dropdown field to the search form to filter searches by Site