MultilingualRootURLController::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).
Signature
public function should_be_on_root(SiteTree
$page )
Parameters
$page
— {SiteTree}
Returns
- {bool}