You are here

function boxes_load_plugin_class_all in Boxes 7.2

Load all widget classes

1 call to boxes_load_plugin_class_all()
boxes_get_types in ./boxes.module
Gets an array of all boxes types, keyed by the type name.

File

./boxes.module, line 370

Code

function boxes_load_plugin_class_all() {
  $return = array();
  foreach (boxes_fetch_plugin_info() as $plugin) {
    if (!empty($plugin['name']) && $plugin['name'] !== 'box' && ($plugin_class = boxes_load_plugin_class($plugin['name']))) {
      $return[$plugin['name']] = $plugin_class;
    }
  }
  return $return;
}