You are here

function ds_get_plugins in Display Suite 6.3

Fetch metadata for all plugins by type.

Return value

An array of arrays with information about all available plugins of a given type

1 call to ds_get_plugins()
ds_plugins_list_view in includes/ds.admin.inc
Callback to load an interface to view a list of plugins

File

./ds.module, line 144

Code

function ds_get_plugins($type) {
  static $types = array();
  if (!isset($types[$type])) {
    ctools_include('plugins');
    $types[$type] = ctools_get_plugins('ds', $type);
  }
  return $types[$type];
}