uuid: - value: 0dc691fb-cba3-4dce-b9ad-94fd84b7ca7f langcode: - value: en type: - target_id: daily_email target_type: node_type target_uuid: 8bde1f2f-eef9-4f2d-ae9c-96921f8193d7 revision_timestamp: - value: '2025-05-11T09:00:44+00:00' revision_uid: - target_type: user target_uuid: b8966985-d4b2-42a7-a319-2e94ccfbb849 revision_log: { } status: - value: true uid: - target_type: user target_uuid: b8966985-d4b2-42a7-a319-2e94ccfbb849 title: - value: | Making my Drupal module template Drupal 10 compatible created: - value: '2023-04-21T00:00:00+00:00' changed: - value: '2025-05-11T09:00:44+00:00' promote: - value: false sticky: - value: false default_langcode: - value: true revision_translation_affected: - value: true path: - alias: /daily/2023/04/21/making-my-drupal-module-template-drupal-10-compatible langcode: en body: - value: |

Today, I made my Drupal module template compatible with Drupal 10.

Because Drupal 10 is developed from Drupal 9, the changes between the two and the changes required are minimal.

In this case, I only needed to change the core_version_requirement in drupal_module_template.info.yml from ^9 to ^9 || ^10 - meaning the template works for both Drupal 9 and 10, so there's no need for different versions.

If it used any deprecated code that was removed before Drupal 10, I'd have needed to update it to use the Drupal 10-compliant code.

Updating to new major Drupal versions is much easier than it used to be!

format: full_html processed: |

Today, I made my Drupal module template compatible with Drupal 10.

Because Drupal 10 is developed from Drupal 9, the changes between the two and the changes required are minimal.

In this case, I only needed to change the core_version_requirement in drupal_module_template.info.yml from ^9 to ^9 || ^10 - meaning the template works for both Drupal 9 and 10, so there's no need for different versions.

If it used any deprecated code that was removed before Drupal 10, I'd have needed to update it to use the Drupal 10-compliant code.

Updating to new major Drupal versions is much easier than it used to be!

summary: null field_daily_email_cta: { }