root / drupal7 / sites / all / modules / uuid / uuid_services / resources / field_collection.resource.inc @ e7101f36
1 |
<?php |
---|---|
2 |
|
3 |
/** |
4 |
* @file |
5 |
* Field Collection services definition functions. |
6 |
*/ |
7 |
|
8 |
/** |
9 |
* Define a services resource for field_collections. |
10 |
*/ |
11 |
function _field_collection_resource_definition() { |
12 |
if (module_exists('field_collection')) { |
13 |
// We will allow uuid_services_services_resources_alter() to add the |
14 |
// default UUID-related operations to this resource. |
15 |
return array('field_collection_item' => array()); |
16 |
} |
17 |
else { |
18 |
return array(); |
19 |
} |
20 |
} |