Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apigee_edge.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ core_version_requirement: ^10

dependencies:
- drupal:file
- drupal:field_ui
- drupal:user
- entity:entity
- drupal:filter
Expand Down
8 changes: 8 additions & 0 deletions apigee_edge.install
Original file line number Diff line number Diff line change
Expand Up @@ -389,3 +389,11 @@ function apigee_edge_update_9002() {
$edge_settings['content']['callbackUrl'] = $new_edge_settings['content']['callbackUrl'];
$config_storage->write('core.entity_view_display.developer_app.developer_app.default', $edge_settings);
}

/**
* Install Field UI module to maintain dependency.
*/
function apigee_edge_update_9003() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The update hook for Drupal 10+ should start with 10.

https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Extension%21module.api.php/function/hook_update_N/10

(Probably old update hooks should have been removed when 3.x branch started and Drupal core major version was bumped)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The update hook for Drupal 10+ should start with 10.

Thanks! Noted 👍

(Probably old update hooks should have been removed when 3.x branch started and Drupal core major version was bumped)

We will take care regarding this next time.

// Installing the field UI module.
\Drupal::service('module_installer')->install(['field_ui']);
}