Closed (fixed)
Project:
Modal
Version:
4.0.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Aug 2020 at 14:14 UTC
Updated:
10 Aug 2020 at 14:31 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
paulocsHere is a patch for this feature.
Please review it.
Thanks!
Comment #3
renatog commentedAmazing! Thanks a lot Paulo!
Testing
Comment #4
renatog commentedIt works well congrats!
But before commit we need to fix phpcs for Drupal Standards and phpcs for Drupal Practice
For Drupal Standards
For Best Practice:
Comment #5
renatog commentedComment #6
renatog commentedCreated a script to fill this field on database
Fixed all phpcs
Comment #7
renatog commentedInterdiff
Comment #8
renatog commentedAmazing job Paulo!
Changing the status to needs work because we need to update the name of hook_update
Currently is
modal_page_update_8209But this value is used for
Accoding with this documentation: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Extension...
On this case we're using 4.0.1 and I don't know how create it 🤔
This example works:
function modal_page_update_9401() {But I don't know if it's correct.
We need to check it.
Comment #11
renatog commentedTalked on Drupal Slack:
@Greg:
@DWW
So I think we can use:
Makes sense?
Comment #12
paulocsI tested with modal_page_update_40001 and it works for me!
It makes sense to me after @DWW said:
Here is a patch and the interdiff.
Thanks
Comment #13
renatog commentedAmazing! Thanks a lot Paulo!
Comment #15
renatog commentedCommitted to the dev branch!
Thank you so much, guys!
Best regards.
Comment #16
renatog commented