web.config functionality removed without deprecating FileSecurity::writeWebConfig()

Created on 10 July 2024, about 2 months ago
Updated 14 July 2024, about 2 months ago

Just some context: I'm working on a brand new site we're hoping to deploy next year. I had the wild idea of starting with Drupal 11 from scratch.

I was trying to get the contrib module simple_oauth up and running, which happens to make a call to FileSecurity::writeWebConfig(). (In /web/core/lib/Drupal/Component/FileSecurity/FileSecurity.php)

I noticed that this function no longer exists in Drupal 11. And as the D11 release notes say , web.config functionality is to be removed in D11.

I see this function existing in the D10 API

I see this function removed in the D11 API

Here's the funny part - FileSecurity::writeWebConfig() was never flagged as deprecated in the D10 documentation. This probably would throw the people working on modules like simple_oauth off guard.

It's probably too much to ask for a stub to be added in, but is there any documentation cleanup that needs to happen here?

🐛 Bug report
Status

Active

Version

11.0 🔥

Component
Documentation 

Last updated less than a minute ago

No maintainer
Created by

🇨🇦Canada TrevorBradley

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

Comments & Activities

Production build 0.71.5 2024