private function SinglePageSiteConfigForm::getMenus in Single Page Site 8
Same name and namespace in other branches
- 2.x src/Form/SinglePageSiteConfigForm.php \Drupal\single_page_site\Form\SinglePageSiteConfigForm::getMenus()
- 2.0.x src/Form/SinglePageSiteConfigForm.php \Drupal\single_page_site\Form\SinglePageSiteConfigForm::getMenus()
Fetches all menus.
Return value
mixed Return Menus.
1 call to SinglePageSiteConfigForm::getMenus()
- SinglePageSiteConfigForm::buildForm in src/
Form/ SinglePageSiteConfigForm.php - Form constructor.
File
- src/
Form/ SinglePageSiteConfigForm.php, line 241
Class
- SinglePageSiteConfigForm
- Class SinglePageSiteConfigForm @package Drupal\single_page_site\Form
Namespace
Drupal\single_page_site\FormCode
private function getMenus() {
return \Drupal::entityQuery('menu')
->execute();
}