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.
When this was a sandbox, the files and namespaces were named adobeanalytics. When the project was created from the sandbox it was given the name adobe_analytics. The project name and namespace is now out of sync. These should be the same. I have looked and there doesn't seem to be a way to update the project name. So the only option is to rename the files and the namespaces to adobe_analytics.
Comment | File | Size | Author |
---|---|---|---|
#5 | 2844242-rename-files-5.patch | 39.74 KB | kmoll |
#2 | 2844242-rename-files-2.patch | 23.89 KB | kmoll |
Comments
Comment #2
kmoll CreditAttribution: kmoll at Appnovation for Pfizer, Inc. commentedI have updated the filenames and namespaces.
Comment #3
kmoll CreditAttribution: kmoll at Appnovation for Pfizer, Inc. commentedComment #4
jribeiro CreditAttribution: jribeiro at CI&T for Pfizer, Inc. commented@Kevin,
The file AdobeanalyticsAdminSettings.php must be renamed to AdobeAnalyticsAdminSettings.php otherwise an exception will be triggered:
InvalidArgumentException: Class "\Drupal\adobe_analytics\Form\AdobeAnalyticsAdminSettings" does not exist. in Drupal\Core\DependencyInjection\ClassResolver->getInstanceFromDefinition() (line 24 of /home/jribeiro/Projects/drupal8-sandbox1/core/lib/Drupal/Core/DependencyInjection/ClassResolver.php).
Comment #5
kmoll CreditAttribution: kmoll at Appnovation for Pfizer, Inc. commentedI have updated the patch to include the renaming of that file.
Comment #6
jribeiro CreditAttribution: jribeiro at CI&T for Pfizer, Inc. commentedNow it is working :)
+1 RTBC
Comment #9
kmoll CreditAttribution: kmoll at Appnovation for Pfizer, Inc. commentedThanks @jribeiro. Committed.
Comment #10
kmoll CreditAttribution: kmoll at Appnovation for Pfizer, Inc. commented