Closes #5744: Adding default metatag tokens to az_course (clean version) - #5785
Closes #5744: Adding default metatag tokens to az_course (clean version)#5785camikazegreen wants to merge 6 commits into
Conversation
|
I think what's happening here is that az_course now sets az_seo as a dependency, which is causing az_seo to be installed before az_event. This configuration file is included in two locations: I suspect that this is just the first one to fail, but this would also be an issue for person, news and flexible page. |
Course shouldn't be installed at all in the base install, since it's an optional module. Taking a look at this... 😕 |
|
I think you're right though... It's possible that just the presence of the dependency is making drupal change the order it installs the modules in, even if it's not actually installing az_course. |
|
I wonder if there's a core issue that Drupal orders the dependency tree on install regardless of whether the modules are to be installed or not. |
|
@camikazegreen it does seem like that happens - as soon as the If the dependency is removed, it starts installing them in the original order. Strange how a module that's not being enabled affects the install order... |
|
Tugboat has finished building the preview for this pull request! Link: Dashboard: |
|
In order to successfully install this change to course, I ended up having to refactor the rest of the content types to eliminate duplicate config items. I've successfully tested this in Tugboat. It installs clean, and I've verified that all existing content types work as expected. Installing az_course and importing courses works and display the appropriate metatags. I could use particular review on all of the database updates, and I'll attempt to test them on an existing site next week. |
|
I think we should potentially consider adding a feature to our quickstart override config provider that only attempts to override configuration if the dependencies are met and/or the configuration it's overriding exists. (So that the course seo configuration can exist in the az_seo module) |
Description
Closes #5744 by adding default SEO metatag support for Course content.
This change:
field_az_metatagattachment to the Course content type.az_seois installed.Related issues
Closes #5744
How to test
az_courseandaz_seoenabled.<title>uses the Course title.<meta name="description">uses the Course description.Types of changes
Arizona Quickstart (install profile, custom modules, custom theme)
Checklist