1 |
85ad3d82
|
Assos Assos
|
<?php
|
2 |
|
|
|
3 |
e7101f36
|
Julien Enselme
|
/**
|
4 |
|
|
* @file
|
5 |
|
|
* Field Collection services definition functions.
|
6 |
|
|
*/
|
7 |
|
|
|
8 |
|
|
/**
|
9 |
|
|
* Define a services resource for field_collections.
|
10 |
|
|
*/
|
11 |
85ad3d82
|
Assos Assos
|
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 |
|
|
} |