Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gatsby-plugin-drupal-menus

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-plugin-drupal-menus

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

  • 1.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Drupal menus for Gatsby

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

Installation

npm -i gatsby-plugin-drupal-menus

In your gatsby-config.js add:

module.exports = { plugins: [ gatsby-plugin-drupal-menus ] }

Usage

To use this component simply add the following to your site's 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

Package last updated on 22 Feb 2021

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc