Extra Block Types (EBT) - New Layout Builder experience❗

Extra Block Types (EBT) - styled, customizable block types: Slideshows, Tabs, Cards, Accordions and many others. Built-in settings for background, DOM Box, javascript plugins. Experience the future of layout building today.

Demo EBT modules Download EBT modules

❗Extra Paragraph Types (EPT) - New Paragraphs experience

Extra Paragraph Types (EPT) - analogical paragraph based set of modules.

Demo EPT modules Download EPT modules

Scroll

1.12. Menus in Drupal

06/08/2019, by mikhail

Drupal, like many other CMS, allows you to combine links to pages in the menu. You can add new menus and links to them when creating new pages.

After installing the standard version of Drupal, we have 5 menus.

Drupal menu

Main navigation - this is the previous menu from Drupal 7 main-menu (primary links). By default, there is a link to the home page.

User account menu - This is a menu from Drupal 7 user-menu. Here are links to your personal account and exit from it.

Tools - menu with links to content management.

Footer - menu for the footer of the page, by default there is a link to the contact form.

Administration - a large menu duplicating the top menu of the administrator.

The menu in the Drupal is displayed in the form of a block, blocks can be displayed on the block layout control - Structure - Block layout:

Drupal 8 menu

You can add new menus, for this go to the page Manage - Structure - Menus and click the add menu button:

/admin/structure/menu/add

drupal menu

Now let's add a link to the menu, and for this we will create an article

/node/add/article

If you go to the article creation page, then there you will see that you have no way to add a link to our new menu. In order to add a link to this menu, you need to add the ability to add articles to this menu in the setting of the content type Article:

drupal menu

We go into editing the content type. Article and add our menu there:

/admin/structure/types/manage/article

drupal 8 menu

Now, when creating an article, we can select our menu:

/node/add /article

drupal 8 menu

Now that we have a menu with a link, let's display it in blocks:

/admin/structure/block

Drupal 8 menu

Now our menu is displayed on all pages.

Drupal 8 menu