MultisitesRootController::should_be_on_root
Returns TRUE if a request to a certain page should be redirected to the site root (i.e. if the page acts as the home page).
TODO: This function wouldn't be required if core called static::get_homepage_link() rather than self::get_homepage_link(). Raise a bug?
Signature
public function should_be_on_root(SiteTree
$page )
Parameters
$page
— SiteTree
Returns
- bool