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
We can no longer add contrib projects in the Tugboat sandboxes that we use for core PR's? Can this be fixed or is there a reason for this? We can add contrib projects to demo...
Apr 25th Weekly Meetings
The Mail System and MimeMail modules are now installed. I'll let you know if they solve the problem. Edit: Using Mail System with MimeMail I was able to send plain text emails. There is...
HTML Email treated as plain text
If you haven't already I recommend installing Mail System and MimeMail. The latter will help format emails as HTML and first helps with configuring which module will handle the formatting...
HTML Email treated as plain text