You are here

property panels_allowed_layouts::$module_name in Panels 7.3

Same name and namespace in other branches
  1. 5.2 includes/common.inc \panels_allowed_layouts::module_name
  2. 6.3 includes/common.inc \panels_allowed_layouts::module_name
  3. 6.2 includes/common.inc \panels_allowed_layouts::module_name

Optional member. If provided, the Panels API will generate a drupal variable using variable_set($module_name . 'allowed_layouts', serialize($this)), thereby handling the storage of this object entirely within the Panels API. This object will be called and rebuilt by panels_edit_layout() if the same $module_name string is passed in for the $allowed_types parameter. \n This is primarily intended for convenience - client modules doing heavy-duty implementations of the Panels API will probably want to create their own storage method.

See also

panels_edit_layout()

File

includes/common.inc, line 64
Functions used by more than one panels client module.

Class

panels_allowed_layouts
Class definition for the allowed layouts governing structure.

Code

var $module_name = NULL;