You are here

function slickgrid_get_plugins in Slickgrid 6

Same name and namespace in other branches
  1. 7.2 slickgrid.module \slickgrid_get_plugins()
  2. 7 slickgrid.module \slickgrid_get_plugins()

Enter description here ...

Parameters

array $filters: Array of filters to filter list of plugins eg: array('plugin_type' => 'editor' will return a list of all editors

2 calls to slickgrid_get_plugins()
slickgrid_views_plugin::options_form in ./slickgrid_views_plugin.inc
Add settings for the particular slickgrid.
_slickgrid_add_files in ./slickgrid.module

File

./slickgrid.module, line 739

Code

function slickgrid_get_plugins($filters = array()) {

  // Get a list of all available plugins
  $plugins = slickgrid_plugins_list();

  // If they need to be filtered...
  if (is_array($filters)) {
    $plugins = slickgrid_filter_plugins($plugins, $filters);
  }
  return $plugins;
}