You are here

function entity_dependency_get_all_ctools_plugins in Entity Dependency API 7

Fetches all ctools plugins defined by entity_dependency.

File

./entity_dependency.module, line 118
Entity Depedendency module functions.

Code

function entity_dependency_get_all_ctools_plugins() {
  ctools_include('plugins');
  $iterators = ctools_get_plugins('entity_dependency', 'iterator');
  $plugins = array();
  foreach ($iterators as $machine_name => $plugin) {
    $plugins[$machine_name] = $plugin['title'];
  }
  return $plugins;
}