Révision 1e39edcb
Ajouté par Assos Assos il y a plus de 7 ans
drupal7/sites/all/modules/ctools/page_manager/page_manager.admin.inc | ||
---|---|---|
1688 | 1688 |
|
1689 | 1689 |
page_manager_handler_add_to_page($form_state['page'], $handler, $form_state['values']['title']); |
1690 | 1690 |
|
1691 |
// Variant is cloned and added to the Page. Ensure the uuids are re-generated. |
|
1692 |
panels_panel_context_get_display($handler); |
|
1693 |
if (isset($handler->conf['display']) && method_exists($handler->conf['display'], 'clone_display')) { |
|
1694 |
$handler->conf['display'] = $handler->conf['display']->clone_display(); |
|
1695 |
} |
|
1696 |
|
|
1691 | 1697 |
$plugin = page_manager_get_task_handler($handler->handler); |
1692 | 1698 |
// It has no forms at all. Add the variant and go to its first operation. |
1693 | 1699 |
$keys = array_keys($plugin['operations']); |
Formats disponibles : Unified diff
Weekly update of contrib modules