Problem/Motivation
Follow-up from #3494908: Mark several more modules as converted. Let's make the changes we need to make to mark the remaining modules.
Modules that implement hooks that cannot be converted we use the #[StopProceduralScan] Attribute.
This is for locale.
Steps to reproduce
N/A
Proposed resolution
Add #[StopProceduralScan] Attribute to modules that have hook_requirements, hook_hook_info or hook_module_implements_alter
Move procedural hooks to top of files that must remain
I added the attribute to all .inc files so it is clear none of them are scanned.
They include each other so the order of parsing isn't explicitly clear so this removes any doubt about whether a particular file is scanned or not.
Remaining tasks
N/A
User interface changes
N/A
Introduced terminology
N/A
API changes
N/A
Data model changes
N/A
Release notes snippet
N/A