Révision a1cafe7e
Ajouté par Assos Assos il y a plus de 4 ans
drupal7/sites/all/modules/field_collection/field_collection.tokens.inc | ||
---|---|---|
28 | 28 |
'name' => t('Host entity ID'), |
29 | 29 |
'description' => t('The entity ID of the host. For nodes this is <code>nid</code>, for users <code>uid</code>.'), |
30 | 30 |
); |
31 |
$host['delta'] = array( |
|
32 |
'name' => t('Host entity item delta'), |
|
33 |
'description' => t('The delta of the reference pointing to this field collection item.'), |
|
34 |
); |
|
31 | 35 |
|
32 | 36 |
// Chained tokens. |
33 | 37 |
foreach (field_collection_host_entity_types() as $entity_type => $entity_info) { |
... | ... | |
96 | 100 |
'type' => 'hostEntityType', |
97 | 101 |
'bundle' => 'hostEntityBundle', |
98 | 102 |
'id' => 'hostEntityId', |
103 |
'delta' => 'delta', |
|
99 | 104 |
); |
100 | 105 |
$entity_types = field_collection_host_entity_types(); |
101 | 106 |
foreach ($tokens as $name => $orig) { |
Formats disponibles : Unified diff
Weekly update of contrib modules