You are here

function nodereference_crumbs_plugins in Crumbs, the Breadcrumbs suite 6

Same name and namespace in other branches
  1. 6.2 plugins/crumbs.nodereference.inc \nodereference_crumbs_plugins()

File

plugins/crumbs.nodereference.inc, line 4

Code

function nodereference_crumbs_plugins() {
  $plugins = array();
  foreach (content_fields() as $key => $info) {
    if ($info['type'] === 'nodereference' && $info['multiple'] === 0) {
      $plugins[$key] = new _nodereference_CrumbsPlugin($key, $info);
    }
  }
  return $plugins;
}