-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #3445 Make config dependencies, module dependencies in az_para…
…graphs:az_paragraphs_view (#3446) Co-authored-by: Joe Parsons <[email protected]>
- Loading branch information
1 parent
57dfab4
commit f7520fd
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
...m/az_paragraphs/az_paragraphs_views_side_by_side/az_paragraphs_views_side_by_side.install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
/** | ||
* @file | ||
* Install, update and uninstall functions for this module. | ||
*/ | ||
|
||
/** | ||
* Install az_news, az_person, az_event, az_flexible_page modules. | ||
* | ||
* Install modules that contain configuration dependencies. | ||
* | ||
* @see https://github.com/az-digital/az_quickstart/issues/3445 | ||
* @see https://github.com/az-digital/az_quickstart/pull/3446 | ||
*/ | ||
function az_paragraphs_views_side_by_side_update_1021001() { | ||
$modules_to_install = [ | ||
'az_news', | ||
'az_event', | ||
'az_person', | ||
'az_flexible_page', | ||
]; | ||
\Drupal::service('module_installer')->install($modules_to_install); | ||
} |