Skip to content

Commit

Permalink
Added hook dependency and updated config location.
Browse files Browse the repository at this point in the history
  • Loading branch information
MdNadimHossain committed Nov 13, 2024
1 parent 718feb4 commit 894f460
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/tide_site/tide_site.install
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function tide_site_install() {
*/
function tide_site_update_10001() {
\Drupal::moduleHandler()->loadInclude('tide_core', 'inc', 'includes/helpers');
$config_location = [\Drupal::service('extension.list.module')->getPath('tide_site') . '/config/install'];
$config_location = [\Drupal::service('extension.list.module')->getPath('tide_core') . '/config/install'];

$configs = [
'field.storage.taxonomy_term.field_additional_comment' => 'field_storage_config',
Expand Down
10 changes: 10 additions & 0 deletions tide_core.install
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,16 @@ function tide_core_install() {
$tideCoreOperation->alterParagraphsLibrary();
}

/**
* Implements hook_update_dependencies().
*/
function tide_core_update_dependencies() {
$dependencies = [];
$dependencies['tide_core'][10007] = ['bay_platform_dependencies' => 10003];

return $dependencies;
}

/**
* Increase character limit of URLs.
*/
Expand Down

0 comments on commit 894f460

Please sign in to comment.