1.0.5 • Published 5 years ago

gatsby-plugin-drupal-comments v1.0.5

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

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