Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Implement both hook_requirements() and hook_install().
The former will make sure that PECL Oauth library is installed, while the latter will add the required tables to manage authorizations.
Comments
Comment #1
juampynr CreditAttribution: juampynr commentedFixed hook_requirements.
Comment #2
juampynr CreditAttribution: juampynr commentedTables are already being installed in hoook_install(). Will figure out later if it is worth it to manage then through Entity API or not.