Révision 2c8c2b87
Ajouté par Assos Assos il y a presque 9 ans
drupal7/sites/all/modules/feeds/tests/feeds_tests.module | ||
---|---|---|
96 | 96 |
* @see my_module_set_target() |
97 | 97 |
*/ |
98 | 98 |
function feeds_tests_mapper_set_target($source, $entity, $target, $value, $mapping) { |
99 |
$entity->body['und'][0]['value'] = serialize($mapping);
|
|
99 |
$entity->body['und'][0]['value'] = serialize($mapping); |
|
100 | 100 |
} |
101 | 101 |
|
102 | 102 |
/** |
... | ... | |
106 | 106 |
*/ |
107 | 107 |
function feeds_tests_mapper_summary($mapping, $target, $form, $form_state) { |
108 | 108 |
$options = array( |
109 |
'option1' => t('Option 1'),
|
|
109 |
'option1' => t('Option 1'), |
|
110 | 110 |
'option2' => t('Another Option'), |
111 |
'option3' => t('Option for select'),
|
|
111 |
'option3' => t('Option for select'), |
|
112 | 112 |
'option4' => t('Another One') |
113 | 113 |
); |
114 | 114 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules