Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am trying to set up my Environment Indicator module related code on Acquia Cloud to make it work and to comply with the Status Report error I'm receiving:
However, there is no such directory, hooks/[your-environment]/post-code-deploy, or anything like it. I think I have looked everywhere in the Acquia Cloud server via SFTP. I have LiveDev enabled. Is this documentation out of date? Should it be a different location than this?
Comments
Comment #1
e0ipsoYou should have the
hooks
directory at the same level of the drupal root one. Probably you'll need to create the appropriate directory. Please, let me know if that fixed your issue.Comment #2
somatics CreditAttribution: somatics commentedI did find out how to install the hooks directory, using this documentation -- https://docs.acquia.com/cloud/manage/cloud-hooks -- so all is well with that. Thank you for your help with this.
However, there is no such file as environment-indicator.sh so I still can't resolve this. I've created a new issue to ask about this:
https://drupal.org/node/2244481
Comment #3
e0ipsoPlease see #2244481: environment-indicator.sh file does not exist in Acquia Cloud hooks samples
Comment #4
e0ipso