Drupal 10 compatibility fixes

Created on 18 January 2023, almost 2 years ago
Updated 8 June 2023, over 1 year ago

Problem/Motivation

Info file lacks support for D10.

Default config file contains duplicate lines and unquoted special characters (%).

Functions drupal_get_path() and drupal_get_filename() have been deprecated in favor of extension listing services: https://www.drupal.org/node/2940438

Functions file_create_url() and file_url_transform_relative() are deprecated: https://www.drupal.org/node/2940031

Steps to reproduce

Try to install the theme on a D10 site

Proposed resolution

Add support for D10 in info file.
Remove duplicate line and quote special chars in config file.
Use the extension.list.theme and file_url_generator services instead of the deprecated functions.

Remaining tasks

Review the merge request.
Create a D9 / D10 compatible release.

Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

🇷🇴Romania reszli Târgu Mureș

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024