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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

harika gujjula created an issue. See original summary.

harika gujjula’s picture

Status: Active » Needs review
FileSize
1.1 KB

I have removed publication_date.api.php as the hook_publication_date_alter() is not used anymore. Please find the patch.

szato’s picture

Status: Needs review » Reviewed & tested by the community

Nice catch :)

idimopoulos’s picture

Status: Reviewed & tested by the community » Needs review
FileSize
632 bytes
1.72 KB

Just a small addition, the same thing needs to be cleaned from the readme file as well.

  • webflo committed c22dc24 on 8.x-2.x authored by idimopoulos
    Issue #3052966 by idimopoulos, harika gujjula: Remove docs for...
webflo’s picture

Status: Needs review » Fixed

Thanks for the cleanup. I think Entity API Hooks are sufficient. Its not necessary to implement this Hook in D8.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.