Révision 136a805a
Ajouté par Assos Assos il y a plus de 7 ans
drupal7/sites/all/modules/panelizer/plugins/entity/PanelizerEntityDefault.class.php | ||
---|---|---|
1621 | 1621 |
// Ensure we don't accidentally overwrite existing display |
1622 | 1622 |
// data or anything silly like that. |
1623 | 1623 |
$panelizer = $this->clone_panelizer($panelizer, $entity); |
1624 |
// Ensure that Panels storage is set correctly. |
|
1625 |
$panelizer->display->storage_type = 'panelizer_entity'; |
|
1626 |
$panelizer->display->storage_id = implode(':', array($this->entity_type, $entity_id, $view_mode)); |
|
1624 | 1627 |
// First write the display |
1625 | 1628 |
panels_save_display($panelizer->display); |
1626 | 1629 |
|
... | ... | |
1778 | 1781 |
$panelizer->display->cache_key = implode(':', array_filter(array('panelizer', $panelizer->entity_type, $panelizer->entity_id, $view_mode, $revision_id))); |
1779 | 1782 |
} |
1780 | 1783 |
|
1784 |
// Ensure that Panels storage is set correctly. |
|
1785 |
$panelizer->display->storage_type = 'panelizer_entity'; |
|
1786 |
$panelizer->display->storage_id = implode(':', array($this->entity_type, $entity_id, $view_mode)); |
|
1787 |
|
|
1781 | 1788 |
// First write the display. |
1782 | 1789 |
panels_save_display($panelizer->display); |
1783 | 1790 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules