Problem/Motivation

There was a failure when converting install time hooks so I moved converting that to this issue.

Steps to reproduce

Convert experimental_module_requirements_test_requirements to InstallRequirements.php

Proposed resolution

Convert this as install time only
This is only tested in core/modules/system/tests/src/Functional/Module/NonStableModulesTest.php so there is no need to run this check in runtime or update.

Remaining tasks

Should we remove the state change, I think that was due to another test that this module is no longer used in.
This test is marked as experimental, but it literally only tests that it cannot be installed with the requirements error, we have other test coverage, should this be changed to actually test something to do with experimental.

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

CommentFileSizeAuthor
#6 3513879-nr-bot.txt91 bytesneeds-review-queue-bot

Issue fork drupal-3513879

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

nicxvan created an issue. See original summary.

nicxvan’s picture

Issue summary: View changes
Status: Active » Needs review
smustgrave’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +Needs Review Queue Initiative

Seems like a good conversion

dww’s picture

Giving this its proper parent.

Agree this is RTBC. Small changes. The new class implementation is identical to the old procedural version. The comments look fine. I might split hairs, but it's not worth it. 😂

Thanks!
-Derek

needs-review-queue-bot’s picture

Status: Reviewed & tested by the community » Needs work
StatusFileSize
new91 bytes

The Needs Review Queue Bot tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".

This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.

Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.

nicxvan’s picture

Status: Needs work » Needs review
smustgrave’s picture

Status: Needs review » Reviewed & tested by the community

Restoring status.

alexpott’s picture

Version: 11.x-dev » 11.2.x-dev
Status: Reviewed & tested by the community » Fixed

Committed and pushed 01eecd5ceef to 11.x and 0cb41093905 to 11.2.x. Thanks!

Backported to 11.2.x as a test only change.

alexpott’s picture

nicxvan’s picture

Fixing attribution

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.