You are here

function panels_new_display in Panels 6.3

Same name and namespace in other branches
  1. 8.3 panels.module \panels_new_display()
  2. 5.2 panels.module \panels_new_display()
  3. 6.2 panels.module \panels_new_display()
  4. 7.3 panels.module \panels_new_display()

Creates a new display, setting the ID to our magic new id.

Related topics

9 calls to panels_new_display()
panels_landing_page_new_page in plugins/page_wizards/landing_page.inc
Provide defaults for a new cache.
panels_layouts_ui::edit_form in plugins/export_ui/panels_layouts_ui.class.php
Provide the actual editing form.
panels_mini_ui::edit_form_layout in panels_mini/plugins/export_ui/panels_mini_ui.class.php
panels_node_insert in panels_node/panels_node.module
Implementation of hook_insert().
panels_node_override_new_page in plugins/page_wizards/node_override.inc
Provide defaults for a new cache.

... See full list

File

./panels.module, line 721
panels.module

Code

function panels_new_display() {
  ctools_include('export');
  $display = ctools_export_new_object('panels_display', FALSE);
  $display->did = 'new';
  return $display;
}