public function SinglePageSiteManager::getMenuItemClass in Single Page Site 8
Same name and namespace in other branches
- 2.x src/Manager/SinglePageSiteManager.php \Drupal\single_page_site\Manager\SinglePageSiteManager::getMenuItemClass()
- 2.0.x src/Manager/SinglePageSiteManager.php \Drupal\single_page_site\Manager\SinglePageSiteManager::getMenuItemClass()
Returns menu item class.
Return value
array|mixed|null Return the Menu Item Class.
1 call to SinglePageSiteManager::getMenuItemClass()
- SinglePageSiteManager::isMenuItemRenderable in src/
Manager/ SinglePageSiteManager.php - Checks if a given menu items has to be rendered.
File
- src/
Manager/ SinglePageSiteManager.php, line 123
Class
- SinglePageSiteManager
- Class SinglePageSiteManager.
Namespace
Drupal\single_page_site\ManagerCode
public function getMenuItemClass() {
return $this->settings
->get('class');
}