You are here

function ds_plugins_page in Display Suite 6.3

Page callback to list installed plugins

1 string reference to 'ds_plugins_page'
_ds_ui_menu in includes/ds.registry.inc
Return menu items and import default settings.

File

includes/ds.admin.inc, line 42
General file for administrative functions.

Code

function ds_plugins_page() {
  $output = 'This page shows all available plugin types used by Display Suite.';
  $plugins = array();
  $plugin_types = array(
    'ds_display' => 'Display types',
    'ds_field' => 'Field types',
    'ds_extension' => 'Extensions',
  );
  foreach ($plugin_types as $type => $name) {
    $output .= ds_plugins_list_view($type, $name);
  }
  return $output;
}