You are here

function _crumbs_load_available_keys in Crumbs, the Breadcrumbs suite 6.2

Same name and namespace in other branches
  1. 7 admin/crumbs.admin.inc \_crumbs_load_available_keys()
2 calls to _crumbs_load_available_keys()
crumbs_admin_form_submit in ./crumbs.admin.inc
_crumbs_get_default_text in ./crumbs.admin.inc

File

./crumbs.admin.inc, line 179

Code

function _crumbs_load_available_keys(array $plugins) {

  // we can't use the plugin engine,
  // or else we would miss disabled plugins.
  $invokeAction = new _crumbs_InvokeAction_define();
  foreach ($plugins as $plugin_key => $plugin) {
    $invokeAction
      ->invoke($plugin, $plugin_key);
  }
  return array(
    $invokeAction
      ->getKeys(),
    $invokeAction
      ->getKeysByPlugin(),
  );
}