Never return NULL from DrupalKernel::getInstallProfile()

Created on 19 March 2024, 8 months ago
Updated 21 March 2024, 8 months ago

Problem/Motivation

DrupalKernel::getInstallProfile() should never return NULL. NULL indicates the site is yet to be installed and in this instance we should be using \Drupal\Core\Installer\InstallerKernel::getInstallProfile().

This should be attempted once πŸ› Install profile is disabled for lots of different reasons and core doesn't allow for that Fixed

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component
BaseΒ  β†’

Last updated about 1 hour ago

Created by

πŸ‡¬πŸ‡§United Kingdom alexpott πŸ‡ͺπŸ‡ΊπŸŒ

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

Comments & Activities

Production build 0.71.5 2024