You are here

function bean_load_plugin_class_all in Bean (for Drupal 7) 7

Load all widget classes

1 call to bean_load_plugin_class_all()
bean_get_types in ./bean.module
Gets an array of all bean types, keyed by the type name.

File

./bean.module, line 500
Block Entity

Code

function bean_load_plugin_class_all() {
  $return = array();
  foreach (bean_fetch_plugin_info() as $plugin) {
    if (!empty($plugin['name']) && $plugin['name'] !== 'bean' && ($plugin_class = bean_load_plugin_class($plugin['name']))) {
      $return[$plugin['name']] = $plugin_class;
    }
  }
  return $return;
}