Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

gatsby-plugin-drupal-comments

This Gatsby Plugin is for embedding drupal comment form.

This plugin require Drupal JSONAPI module installed.

Installation

npm install gatsby-plugin-drupal-comments —save

Usage

import DrupalComments from ‘gatsby-plugin-drupal-comments’;

    <DrupalComments
         entity_id = "drupal id node"
         type_comment = "comment"
         field_name = "comment"
         type_content = "type content" 
         entity_type = "type entity"
         url_api = "url json api comment : example.com/jsonapi/comment/comment"
         login_api = "username"
         password_api = "password"
    />

Result

comment-gatsbyjs-drupal
© 2024 Gatsby, Inc.