Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
hook_publication_date_alter is not working and no longer Required. Instead Since its D8, we can Alter the Field type using hook_field_info_alter(), if we still want to override the functionality.
Comment | File | Size | Author |
---|---|---|---|
#4 | removing_hook_publication_date_alter-3052966-4.patch | 1.72 KB | idimopoulos |
#4 | interdiff.txt | 632 bytes | idimopoulos |
#2 | removing_hook_publication_date_alter-3052966-2.patch | 1.1 KB | harika gujjula |
|
Comments
Comment #2
harika gujjula CreditAttribution: harika gujjula at Specbee commentedI have removed publication_date.api.php as the hook_publication_date_alter() is not used anymore. Please find the patch.
Comment #3
szato CreditAttribution: szato at Brainsum commentedNice catch :)
Comment #4
idimopoulos CreditAttribution: idimopoulos at Randstad Digital for European Commission and European Union Institutions, Agencies and Bodies commentedJust a small addition, the same thing needs to be cleaned from the readme file as well.
Comment #6
webflo CreditAttribution: webflo at UEBERBIT GmbH commentedThanks for the cleanup. I think Entity API Hooks are sufficient. Its not necessary to implement this Hook in D8.