Figure out how to include .module/.module.php files without file_exists on runtime

Created on 5 October 2016, about 8 years ago
Updated 3 February 2023, almost 2 years ago

Problem/Motivation

As part of #7269: [meta] Add .php extension to PHP files β†’ it would be great to figure out whether its possible to include .module/.module.php files without further runtime costs like having a file_exists call.

Proposed resolution

Remaining tasks

  • Review
  • Address feedback
  • Agree that its the right thing to do in the first place
  • Commit
  • Profit

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Needs work

Version

10.1 ✨

Component
ExtensionΒ  β†’

Last updated 9 days ago

No maintainer
Created by

πŸ‡©πŸ‡ͺGermany dawehner

Live updates comments and jobs are added and updated live.
  • needs profiling

    It may affect performance, and thus requires in-depth technical reviews and profiling.

  • Performance

    It affects performance. It is often combined with the Needs profiling tag.

  • Needs change record

    A change record needs to be drafted before an issue is committed. Note: Change records used to be called change notifications.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    'seven.theme' or 'node.module.php'.
    Do we have .module.php?

    If we are extending the discovery think this could use a change record

    #17 mentions a deprecation. If that's needed for sure.

Production build 0.71.5 2024