public function Page::usesAdminTheme in Page Manager 8
Same name and namespace in other branches
- 8.4 src/Entity/Page.php \Drupal\page_manager\Entity\Page::usesAdminTheme()
Indicates if this page is an admin page or not.
Return value
bool TRUE if this is an admin page, FALSE otherwise.
Overrides PageInterface::usesAdminTheme
File
- src/
Entity/ Page.php, line 151 - Contains \Drupal\page_manager\Entity\Page.
Class
- Page
- Defines a Page entity class.
Namespace
Drupal\page_manager\EntityCode
public function usesAdminTheme() {
return isset($this->use_admin_theme) ? $this->use_admin_theme : strpos($this
->getPath(), '/admin/') === 0;
}