Install

Works with Drupal: 8.x

Using dev releases is not recommended, except for testing.

Using Composer to manage Drupal site dependencies

Alternative installation files

Download patreon-8.x-1.x-dev.tar.gztar.gz 32.94 KB
MD5: 2216330f2e8e8f66c12ad0e3451deac6
SHA-1: b8374c31a4e403ed2591e3eb324d7b7539ab9e93
SHA-256: 0559688ac88f4f5570beb93b81f8ae2aa2afb7b2aa7ed6531187c33c5b7f5036
Download patreon-8.x-1.x-dev.zipzip 73.67 KB
MD5: f4c723bd03839e24656bb3d2355df7e1
SHA-1: 08cd07fc569b1ef4abdf9a389b36b4c1f23b1c60
SHA-256: bcd867d74fbff76f238394f8f47fd83d3db0971613d1489152973ba0106d60ee

Release notes

Initial commit of a Drupal 8 version of the Patreon API module, which provides functionality to link a Drupal site to the Patreon API.

In line with Drupal 8 standards, the module uses composer to pull in dependencies: after installation, you will need to run composer install if you have not installed via composer. an administrator is required to complete Oauth authentication of the site by registering at https://www.patreon.com/platform/documentation/clients and entering the Client ID and Client Secret into the admin form at /admin/config/services/patreon/settings.

The module provides a new service called patreon.api, with methods fetchUser, fetchCampaign, fetchCampaignAndPatrons, and fetchPagePledges to replace similar functions in the Drupal 7 version of the module. The alter hook hook_patreon_allowed_callbacks_alter() has been removed for Drupal 8: the Service uses a method getCallback() to return the router path for the default Oauth callback. If alternative callback paths are required, the PatreonService.php file should be extended in a custom module and the getCallback() method replaced to provide the alternative path.

Also includes the Patreon User sub-module that allows duplication of accounts between Drupal and Patreon and/or single sign on functionality, and the Patreon Entity module, which provides a bundleable entity with view, add, edit, delete access permissions for every bundle. When used in conjunction with Patreon User, this module can allow Patreon patrons access to private content on the Drupal site.

Created by: MrDaleSmith
Created on: 14 Jun 2017 at 07:09 UTC
Last updated: 26 Jul 2017 at 11:14 UTC
New features

Other releases