Hi,

hook_enable and hook_disable were removed in Drupal 8, so content should be moved to hook_install and hook_uninstall.

Best regards,

Leandro L. Isotton

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

lisotton created an issue. See original summary.

mgoncalves’s picture

Assigned: Unassigned » mgoncalves
Status: Active » Needs work
mgoncalves’s picture

Changed hook_enable to hook_install.

mgoncalves’s picture

Assigned: mgoncalves » Unassigned
Status: Needs work » Needs review
rodrigoac’s picture

Assigned: Unassigned » rodrigoac

Work on it !

rodrigoac’s picture

FileSize
8.37 KB

hook_enable migrated with success !

rodrigoac’s picture

Assigned: rodrigoac » Unassigned
Status: Needs review » Reviewed & tested by the community