function restws_get_format_info in RESTful Web Services 7
Same name and namespace in other branches
- 7.2 restws.module \restws_get_format_info()
Returns info about all defined formats.
2 calls to restws_get_format_info()
- restws_format in ./
restws.module - Returns an instance of a format.
- restws_format_mimetype in ./
restws.module - Returns the format instance for a given MIME type.
File
- ./
restws.module, line 23 - RESTful web services module.
Code
function restws_get_format_info() {
$info =& drupal_static(__FUNCTION__);
if (!isset($info)) {
$info = module_invoke_all('restws_format_info');
drupal_alter('restws_format_info', $info);
}
return $info;
}