View Issue Details

IDProjectCategoryView StatusLast Update
0005905Composrcorepublic2024-08-23 20:54
ReporterPatrick SchmalstigAssigned To 
SeverityFeature-request 
Status non-assignedResolutionopen 
Product Version 
Fixed in Version 
Summary0005905: Add example files to each hook subtype folder
DescriptionAssist developers with understanding how to develop hooks for each subtype by creating an example.php.template file in each subtype folder.

The file should contain PHP code template outlining the expected structure of hooks in that subtype (functions / their parameters and whether they are optional functions, PHPDoc). Additionally, if any info is used (e.g. content_meta_aware), put comments explaining each property so developers know how to use them or what to put in them.

Add a test in the test suite to ensure every hook subtype has this file.
Additional InformationThis is not something I will do without someone sponsoring it (except to a very limited / slow degree in my spare time), so if you'd like to see this as a form of more documentation for hooks, and you want to see it quickly and thoroughly, please contact me to discuss how to fund this issue.
TagsRoadmap: Sponsorship
Time estimation (hours)10
Sponsorship openOpen

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-08-22 12:39 Patrick Schmalstig New Issue
2024-08-22 12:39 Patrick Schmalstig Tag Attached: Roadmap: Sponsorship
2024-08-22 12:40 Patrick Schmalstig Additional Information Updated View Revisions
2024-08-22 12:40 Patrick Schmalstig Sponsorship open Open => Open
2024-08-22 12:40 Patrick Schmalstig Additional Information Updated View Revisions
2024-08-22 12:40 Patrick Schmalstig Sponsorship open Open => Open
2024-08-22 12:41 Patrick Schmalstig Time estimation (hours) 5 => 10
2024-08-22 12:41 Patrick Schmalstig Sponsorship open Open => Open