Socket
Socket
Sign inDemoInstall

@xaviemirmon/gatsby-drupal-menus

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @xaviemirmon/gatsby-drupal-menus

Adds support for nested hierarchical menus from Drupal 8 in Gatsby.


Version published
Weekly downloads
7
Maintainers
1
Install size
5.14 kB
Created
Weekly downloads
 

Readme

Source

Drupal menus for Gatsby

This module works alongside the Gatsby Live Preview module for Drupal.

To use this component simply add the following to your site where your wish for your menu to appear

<Menu />

And the main menu will appear.

The menu also accepts a prop of menuName which is the drupal machine name for the menu.

If for example, you wished to add the footer menu, you could do something like the following:

<Menu menuName={`footer`} />

Keywords

FAQs

Last updated on 09 Feb 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc