Skip to content

Drupal 8 module that allows your site to connect to Marvel Comics API.

Notifications You must be signed in to change notification settings

mmenavas/marvel

Repository files navigation

Marvel - Drupal 8 module

This module allows your site to connect to Marvel Comics API so you can fetch and display data about your favorite characters. Additionally, you may create memory games with your favorite Marvel characters.

Features

  • Custom page to search for Marvel characters.
  • Custom field type.
  • Custom autocomplete widget to find characters by name.
  • Custom formatter to display basic data about characters.
  • Custom formatter powered by React to load memory game.

Prerequisite:

Usage:

  • Install module.
  • Configure API keys at /admin/config/marvel/settings.
  • Go to /marvel and find your favorite Marvel characters.
  • Or create a content type and add a Marvel field to it. Then enable the Memory Game formatter.

TODO:

  • Add thumbnail on autocomplete suggestions.
  • Cache images to improve image loading.
  • Update tests to be compatible with newer version of PHPUnit.

About

Drupal 8 module that allows your site to connect to Marvel Comics API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published