You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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:
...while still being able to do things like this:
The text was updated successfully, but these errors were encountered: