Draft: Module review
3 unresolved threads
3 unresolved threads
Closes #3502628
Merge request reports
Activity
1 1 <?php 2 2 3 // This should probably reside in the parent module. This isn't possible because it would introduce a dependency on drupal/fillpdf - which the parent module can't have.
We can open a follow-up issue to convert this controller logic into a plugin, and then move the controller to the parent module and look for a plugin etc. but that's part of generically supporting multiple different certificate types on one site which isn't necessary for the absolute minimum.
Edited by catch
26 26 ->setLabel(new TranslatableMarkup('Certificate')) 27 27 ->setName('membership_group') 28 28 ->setDescription(new TranslatableMarkup('Reference to an entity providing a certificate')) 29 // I think the below 2 settings are not needed, it's a dynamic refeerence and will never reference a group.. 12 12 "require": { 13 13 "drupal/lms": "^1.0", 14 14 "drupal/dynamic_entity_reference": "^4.0@alpha", 15 /* Since this is required by the child module only, maybe we should add a hook_requirements there instead? */
Please register or sign in to reply