public function SinglePageSiteManager::getMenu in Single Page Site 8
Same name and namespace in other branches
- 2.x src/Manager/SinglePageSiteManager.php \Drupal\single_page_site\Manager\SinglePageSiteManager::getMenu()
- 2.0.x src/Manager/SinglePageSiteManager.php \Drupal\single_page_site\Manager\SinglePageSiteManager::getMenu()
Returns menu selected for single page.
Return value
array|mixed|null Returns the Menu.
1 call to SinglePageSiteManager::getMenu()
- SinglePageSiteManager::getMenuChildren in src/
Manager/ SinglePageSiteManager.php - Fetches all children of given menu.
File
- src/
Manager/ SinglePageSiteManager.php, line 103
Class
- SinglePageSiteManager
- Class SinglePageSiteManager.
Namespace
Drupal\single_page_site\ManagerCode
public function getMenu() {
return $this->settings
->get('menu');
}