I thought of this while filing #2384...
I was thinking something like project_get_info($project_name, $property = NULL) that would auto-detect project type (from the .info file or the system table?). If $property is omitted, then an array of all the project info would be returned (keyed by property), else the specific property defined in $property. This would allow us to get a specific project property like this:
$human_readable_name = project_get_info('devel', 'name');
...instead of this:
$module_info = system_get_info('module', 'devel');
$human_readable_name = $module_info['name'];
...while still being able to do things like this:
$module_info = project_get_info('devel');
$human_readable_name = $module_info['name'];
Recent comments
This is a really good idea. I nearly always search on GitHub if I'm not sure of the name. That said, there is still room for improvement in GitHub as many repos have a useless description...
Weekly dev meetings to focus on top wish list items start March 26, 2026.
I'd suggest module search to get discussed as a possible top priority. Our module search page on backdropcms.org doesn't do a good job. Neither does the module search on admin/...
Weekly dev meetings to focus on top wish list items start March 26, 2026.
Hi Jochen You could test https://github.com/backdrop-contrib/commerce_invoice_receipt which doesn't yet have a release, but may meet your needs when combined with other modules to generate...
Commerce modules