Problem/Motivation

The Plyr module cannot be installed on Drupal 12 because core_version_requirement in plyr.info.yml only allows ^9 || ^10 || ^11. Drupal 12 is excluded even though the module code is fully compatible.

Attempting to install Plyr on Drupal 12 fails with:

This module is incompatible with Drupal 12.

The module extends FileMediaFormatterBase from Drupal core and uses standard Drupal APIs (field formatters, Form API, libraries). None of these APIs have breaking changes in Drupal 12 that would affect Plyr.

Steps to reproduce

  1. Set up a Drupal 12 development environment
  2. Install the Plyr module via Composer
  3. Run drush en plyr
  4. Observe the "incompatible with Drupal 12" error

Proposed resolution

Add ^12 to core_version_requirement in plyr.info.yml:

# Before:
core_version_requirement: ^9 || ^10 || ^11

# After:
core_version_requirement: ^9 || ^10 || ^11 || ^12

This is a one-line change with zero risk. The module code requires no other modifications to run on Drupal 12.

Remaining tasks

Apply the one-line change and tag a new release.

User interface changes

None.

API changes

None.

Data model changes

None.

Issue fork plyr-3577515

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

relative23 created an issue. See original summary.

aayushpathak’s picture

working on it !

aayushpathak’s picture

Status: Active » Needs review