Problem/Motivation
While evaluating and researching core modules, it was noticed that are a few inconsistencies in .info.yml files, specifically, the use of single and double quotes around titles and descriptions.
Analysis:
Modules with one word titles (with no quotes): 41
Modules with one word titles (with single quotes): 2
Modules with multiple word titles (with single quotes): 22
Modules with multiple word titles (with no quotes): 9
Description (with single quotes): 67
Description (with no quotes): 3
Description (with double quotes): 1
Proposed resolution
Update modules to have the following:
- Modules with one word title should use no quotes around the title.
- Modules with multiple word title should use single quotes around the title.
- Module descriptions should use single quotes around the description.
I am choosing this route because it seems most modules align to this pattern, and I would like to propose to keep it consistent.
Remaining tasks
- Create patch
- Review patch
- Write tests to prevent issue from occurring in the future as new or experimental modules are added to core.
- Edit Drupal documentation pages to explain standards.
User interface changes
None
API changes
None
Data model changes
None