Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ACMS-4401: Replace hook hook_content_model_role_presave_alter for Acquia Starter Kit media modules with hook_entity_insert. #1911

Open
wants to merge 12 commits into
base: develop
Choose a base branch
from

Conversation

rajeshreeputra
Copy link
Contributor

@rajeshreeputra rajeshreeputra commented Dec 23, 2024

Motivation
Fixes #ACMS-4401

Proposed changes
Replace hook_content_model_role_presave_alter for Acquia Starter Kit media modules with hook_entity_insert.

Alternatives considered
NA

Testing steps
Follow from ticket.

Merge requirements

  • Major change, Minor change, Bug, Enhancement, and/or Chore label applied
  • Manual testing by a reviewer

@rajeshreeputra rajeshreeputra temporarily deployed to acquia_code_deployment December 27, 2024 13:44 — with GitHub Actions Inactive
@rajeshreeputra rajeshreeputra temporarily deployed to acquia_code_deployment December 27, 2024 14:04 — with GitHub Actions Inactive
@@ -4,6 +4,7 @@ description: 'Provides an Event content type and related configuration.'
type: module
core_version_requirement: ^9.4 || ^10 || ^11
dependencies:
- acquia_cms_common:acquia_cms_common
Copy link
Contributor Author

Choose a reason for hiding this comment

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

FYI: The dependency on the acquia_cms_common module will be removed for content model to function independently in separate PR.
Same apply for all other content type modules.

@@ -4,6 +4,7 @@
"license": "GPL-2.0-or-later",
"type": "drupal-module",
"require": {
"drupal/acquia_cms_common": "^1.9 || ^2.1 || ^3.1",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

FYI: The dependency on the acquia_cms_common module will be removed for content model to function independently in separate PR.
Same apply for all other content type modules.

@rajeshreeputra rajeshreeputra temporarily deployed to acquia_code_deployment December 27, 2024 14:13 — with GitHub Actions Inactive
@rajeshreeputra rajeshreeputra changed the title ACMS-4373: Replace hook hook_content_model_role_presave_alter for Acquia Starter Kit media modules with hook_entity_insert. ACMS-4401: Replace hook hook_content_model_role_presave_alter for Acquia Starter Kit media modules with hook_entity_insert. Jan 6, 2025
@rajeshreeputra rajeshreeputra temporarily deployed to acquia_code_deployment January 6, 2025 07:30 — with GitHub Actions Inactive
@rajeshreeputra rajeshreeputra temporarily deployed to acquia_code_deployment January 6, 2025 07:49 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants