You are here

function panels_ctools_plugin_type in Panels 7.3

Implements hook_ctools_plugin_type().

Register layout, style, cache, and display_renderer plugin types, declaring relevant plugin type information as necessary.

File

./panels.module, line 436
Core functionality for the Panels engine.

Code

function panels_ctools_plugin_type() {
  return array(
    'layouts' => array(
      // We can define layouts in themes.
      'load themes' => TRUE,
      'process' => 'panels_layout_process',
      'child plugins' => TRUE,
    ),
    'styles' => array(
      'load themes' => TRUE,
      'process' => 'panels_plugin_styles_process',
      'child plugins' => TRUE,
    ),
    'cache' => array(),
    'display_renderers' => array(
      'classes' => array(
        'renderer',
      ),
    ),
    'panels_storage' => array(),
  );
}