Remove class_loader in drupal_check_profile

Created on 12 January 2025, 3 months ago

Problem/Motivation

This was noticed as part of πŸ“Œ Create class to replace hook_install_requirements Active

@alexpott made the following comment:

We should file an issue to remove this. It's wrong - because we don't do this in HEAD when we do install requirement checking when we're on the ModuleListForm and also we don't do it below for profiles. My guess is that how approach to autoloading for profiles is making it hard to convert some of the install hooks to OOP hooks...
The reason this doesn't affect anything really is it was only added for system module... see #2388255: (followup) Limit PDO MySQL to executing single statements if PHP supports it β†’ - this was my mistake. And the whole reason it was added - to load Drupal\system\SystemRequirements was removed in #3054060: Deprecate \Drupal\system\SystemRequirements::phpVersionWithPdoDisallowMultipleStatements() as all supported versions of PHP return TRUE β†’ and #3097453: Remove system.module BC layers β†’
Fun.

Steps to reproduce

N/A

Proposed resolution

Explore just removing it.

Remaining tasks

User interface changes

N/A

Introduced terminology

N/A

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component

base system

Created by

πŸ‡ΊπŸ‡ΈUnited States nicxvan

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024