I would love to see a port of this module to Drupal 8.
Here are some ideas:
1. Leverage composer and use the same library as the 7 version (its well maintained)
2. Write a Drupal-based service that wraps the logic of the SDK
3. Write a configuration form that stores the API key (possibly integrates with the Key module)
There are some similar examples to follow that I've worked on (both WIP):
1. Digital Ocean - https://www.drupal.org/sandbox/nerdstein/2942684
2. Vault - https://www.drupal.org/sandbox/nerdstein/2748693
I'm happy to work on this and/or maintain but would welcome ideas before getting started.
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | basic-module.patch | 4.32 KB | damontgomery |
| #6 | hubspot_api-2950145-initial_d8-6.patch | 1.16 KB | nerdstein |
Comments
Comment #2
nerdsteinComment #3
thejacer87 commentedsounds good man, i added you to the maintainers list. this was made for a specific client. we are planning on doing a d8 upgrade sometime this year, so i will have time to work on the d8 port then. hopefully you make some good progress :)
Comment #4
nerdsteinAdding the new branch, which will be 8.x-1.x based on feature parity with 7 version
Comment #5
nerdsteinI'm going to push a base commit for the new branch
Comment #6
nerdsteinComment #7
nerdsteinWe need to do a full audit of functionality for 8.
At a minimum we need the following:
1. Admin form with the API key
2. A Drupal-based service that wraps/invokes the PHP SDK
Comment #8
damontgomery commentedThis handles the very basic version of this module and is mostly copy & pasted from the digital_ocean sandbox module.
You can test this with,
Comment #9
nerdsteinThat patch looks awesome on code review but it wont apply. Its probably some windows character encoding issues. Can I get a new patch?
Comment #10
damontgomery commentedTry this?
Comment #11
nerdsteinThis is good and initial testing works well. Marking as fixed.