You are here

function ds_create_display in Display Suite 6.3

Factory function to initalise a new dsDisplay object

Return value

A correctly initialised display object

2 calls to ds_create_display()
ds_attach_display in ./ds.module
Attach a display to a renderable item
ds_build_fields_and_regions in includes/ds.api.inc
Get fields and regions for an object.

File

./ds.module, line 390

Code

function ds_create_display() {
  module_load_include('php', 'ds', 'includes/dsDisplay');
  return new dsDisplay();
}