Révision 4eeb3b46
Ajouté par Assos Assos il y a presque 8 ans
drupal7/sites/all/modules/uuid/plugins/arguments/entity_uuid.inc | ||
---|---|---|
6 | 6 |
*/ |
7 | 7 |
|
8 | 8 |
/** |
9 |
* Plugins are described by creating a $plugin array which will be used |
|
10 |
* by the system that includes this file. |
|
9 |
* CTools UUID entity context plugin definition. |
|
11 | 10 |
*/ |
12 | 11 |
$plugin = array( |
13 | 12 |
'title' => t("Entity: UUID"), |
... | ... | |
18 | 17 |
); |
19 | 18 |
|
20 | 19 |
/** |
21 |
* @todo document me properly |
|
20 |
* Fetches the "child" information for a given parent entity. |
|
21 |
* |
|
22 |
* @todo document me properly. |
|
23 |
* |
|
24 |
* @return array |
|
25 |
* The children. |
|
22 | 26 |
*/ |
23 | 27 |
function uuid_entity_uuid_get_child($plugin, $parent, $child) { |
24 | 28 |
$plugins = uuid_entity_uuid_get_children($plugin, $parent); |
... | ... | |
26 | 30 |
} |
27 | 31 |
|
28 | 32 |
/** |
29 |
* @todo document me properly |
|
33 |
* Fetches all children types for a given parent entity. |
|
34 |
* |
|
35 |
* @todo document me properly. |
|
36 |
* |
|
37 |
* @return array |
|
38 |
* All the children. |
|
30 | 39 |
*/ |
31 | 40 |
function uuid_entity_uuid_get_children($original_plugin, $parent) { |
32 | 41 |
$entities = entity_get_info(); |
Formats disponibles : Unified diff
Weekly update of contrib modules