Explain the menu system in Drupal?
Submitted by: MuhammadDefine the navigation menus, and route page requests to code based on URLs.
The Drupal menu system drives both the navigation system from a user perspective and the callback system that Drupal uses to respond to URLs passed from the browser. For this reason, a good understanding of the menu system is fundamental to the creation of complex modules. Drupal's menu system follows a simple hierarchy defined by paths. Implementations of hook_menu () define menu items and assign them to paths (which should be unique). The menu system aggregates these items and determines the menu hierarchy from the paths. For example, if the paths defined were a, a/b, e, a/b/c/d, f/g, and a/b/h, the menu system would form the structure:
a
a/b
a/b/c/d
a/b/h
e
f/g
Submitted by: Muhammad
The Drupal menu system drives both the navigation system from a user perspective and the callback system that Drupal uses to respond to URLs passed from the browser. For this reason, a good understanding of the menu system is fundamental to the creation of complex modules. Drupal's menu system follows a simple hierarchy defined by paths. Implementations of hook_menu () define menu items and assign them to paths (which should be unique). The menu system aggregates these items and determines the menu hierarchy from the paths. For example, if the paths defined were a, a/b, e, a/b/c/d, f/g, and a/b/h, the menu system would form the structure:
a
a/b
a/b/c/d
a/b/h
e
f/g
Submitted by: Muhammad
Read Online Drupal Job Interview Questions And Answers
Top Drupal Questions
☺ | What Is Drupal? |
☺ | How Does Drupal Compare to Other Open Source CMS Systems? |
☺ | How Does Drupal Compare to Commercial CMS Systems? |
☺ | What are System requirements for Drupal? |
☺ | Why ca not A Drupal user edit a node they created? |
Top CMS (Content Management System) Categories
☺ | WordPress Interview Questions. |
☺ | CMS Interview Questions. |
☺ | Joomla Interview Questions. |
☺ | Drupal Interview Questions. |
☺ | Moodle Interview Questions. |