Révision 7e72b748
Ajouté par Assos Assos il y a plus de 6 ans
drupal7/sites/all/modules/ctools/bulk_export/bulk_export.module | ||
---|---|---|
137 | 137 |
// Add hook_ctools_plugin_api at the top of the module code, if there is any. |
138 | 138 |
if ($api_code) { |
139 | 139 |
foreach ($api_code as $api_hook => $text) { |
140 |
$api = "\n/**\n";
|
|
140 |
$api = "\n/**\n"; |
|
141 | 141 |
$api .= " * Implements hook_$api_hook().\n"; |
142 | 142 |
$api .= " */\n"; |
143 | 143 |
$api .= "function {$module_name}_$api_hook(\$module, \$api) {\n"; |
... | ... | |
148 | 148 |
} |
149 | 149 |
|
150 | 150 |
if ($module_code) { |
151 |
$module = "<?php\n\n";
|
|
151 |
$module = "<?php\n\n"; |
|
152 | 152 |
$module .= "/**\n"; |
153 | 153 |
$module .= " * @file\n"; |
154 | 154 |
$module .= " * Bulk export of objects generated by Bulk export module.\n"; |
... | ... | |
193 | 193 |
|
194 | 194 |
/** |
195 | 195 |
* FAPI definition for the bulk exporter form. |
196 |
* |
|
197 | 196 |
*/ |
198 | 197 |
function bulk_export_export_form($form, &$form_state) { |
199 | 198 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules