Révision 1e39edcb
Ajouté par Assos Assos il y a plus de 7 ans
drupal7/sites/all/modules/ctools/page_manager/plugins/tasks/page.admin.inc | ||
---|---|---|
1462 | 1462 |
$original->path = $form_state['values']['path']; |
1463 | 1463 |
|
1464 | 1464 |
$handlers = !empty($form_state['values']['handlers']) ? $form_state['page']->handlers : FALSE; |
1465 |
// Ensure the handler uuids are re-generated. |
|
1466 |
if ($handlers) { |
|
1467 |
foreach ($handlers as &$handler) { |
|
1468 |
if (isset($handler->conf['display']) && method_exists($handler->conf['display'], 'clone_display')) { |
|
1469 |
$handler->conf['display'] = $handler->conf['display']->clone_display(); |
|
1470 |
} |
|
1471 |
} |
|
1472 |
} |
|
1473 |
|
|
1465 | 1474 |
// Export the handler, which is a fantastic way to clean database IDs out of it. |
1466 | 1475 |
$export = page_manager_page_export($original, $handlers); |
1467 | 1476 |
ob_start(); |
Formats disponibles : Unified diff
Weekly update of contrib modules