Skip to content

Commit

Permalink
Close #3903 Add schema_metatag module as dependency of az_seo (#3909)
Browse files Browse the repository at this point in the history
  • Loading branch information
trackleft authored Nov 22, 2024
1 parent e8538a9 commit bd7af3d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
"drupal/quick_node_clone": "1.17.0",
"drupal/redirect": "1.10.0",
"drupal/role_delegation": "1.3.0",
"drupal/schema_metatag": "3.0.3",
"drupal/search_exclude": "3.0.0-beta1",
"drupal/seckit": "2.0.3",
"drupal/slick": "3.0.4",
Expand Down
1 change: 1 addition & 0 deletions modules/custom/az_seo/az_seo.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ dependencies:
- metatag:metatag
- metatag:metatag_open_graph
- metatag:metatag_twitter_cards
- schema_metatag:schema_metatag
7 changes: 7 additions & 0 deletions modules/custom/az_seo/az_seo.install
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,10 @@ function az_seo_update_last_removed() {
*/
function az_seo_update_1021001() {
}

/**
* Ensure schema_metatag module is installed.
*/
function az_seo_update_1021101() {
\Drupal::service('module_installer')->install(['schema_metatag']);
}

0 comments on commit bd7af3d

Please sign in to comment.