tripal/tripal_devtools

Custom Tripal Extension Module template

Opened this issue · 1 comments

It would be useful for Tripal to provide a (drush) generator to generate extension modules specifically for Tripal. This would build off of the standard Drupal module generator template and provide Tripal-specific. However, we will not be extending the Drupal generator, but simply copying what they have at the time of this writing due to Drupal's variability and lack of backwards-compatibility.

Features we are adding that are not supported by the original module generator:

  • If user is not providing their own Permissions file, use 'administer tripal' string for the <module_name>.routing.yml file. Satisfied by 461fc78
  • Ensure the configuration link for this module shows up in two places: Satisfied by 90aa78e
    • In Tripal's own Extensions page
    • On the module's entry on the Drupal "Extensions" page