This project is not covered by Drupal’s security advisory policy.

Project Status: Unsupported

This is a small module designed to work with the Drupal Link field type. It provides a GraphQL field type that can be used to return a link object.

Obsolete Notice

This module is now considered obsolete and is no longer maintained.

We strongly recommend that users migrate to alternative solutions as this module will not receive any updates or support. Below are some recommended alternatives:

Quickstart:

  1. Install the module using Composer.
  2. Enable the "GraphQL Link" SchemaExtension on your graphQL server edit page.
  3. Include the field on the relevant Type to resolve as: Link
  4. Install the module using Composer.

Requirements

GraphQL 4.x

Usage

This module provides a GraphQL field type that can be used like this:

type MyType {
  myField: [Link]
}

The field will return a link object with the following properties:

* linkURL: The URL of the link
* linkTitle: The title of the link

Supporting organizations: 
Development Time

Project information

Releases