Skip to content

Document that manual installs need rules.neon for loadInclude() files - #1096

Merged
mglaman merged 1 commit into
mainfrom
docs-741-manual-installation
Nov 10, 2026
Merged

mglaman merged 1 commit into
mainfrom
docs-741-manual-installation

Conversation

@mglaman

@mglaman mglaman commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Fixes #741.

The README's manual installation section presented rules.neon as optional ("To include Drupal specific analysis rules, include this file"). But two of its rules, LoadIncludes and ModuleLoadInclude, also load the files that loadInclude() and module_load_include() include. Without them, functions from those files are reported as not found. That's what Drush hit: their config included only extension.neon.

The section now shows both files in one includes block, explains what each one adds, and names the "Function ... not found" error so a search for it lands here. No code changes.

🤖 Generated with Claude Code

LoadIncludes and ModuleLoadInclude load the files that loadInclude() and
module_load_include() include. A config with only extension.neon reports
functions from those files as not found.

Fixes #741.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mglaman
mglaman merged commit 75372f1 into main Nov 10, 2026
19 of 20 checks passed
@mglaman
mglaman deleted the docs-741-manual-installation branch November 10, 2026 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ModuleHandler->loadInclude() call is not being processed

1 participant