You are here

function crumbs_InjectedAPI_hookCrumbsPlugins::entityParentPlugin in Crumbs, the Breadcrumbs suite 7.2

Register an entity parent plugin.

Parameters

string $key:

string|crumbs_EntityPlugin $entity_plugin:

array $types: An array of entity types, or a single entity type, or NULL to allow all entity types.

File

lib/InjectedAPI/hookCrumbsPlugins.php, line 89

Class

crumbs_InjectedAPI_hookCrumbsPlugins
API object to be used as an argument for hook_crumbs_plugins() This is a sandbox class, currently not used..

Code

function entityParentPlugin($key, $entity_plugin = NULL, $types = NULL) {
  $this
    ->entityPlugin('parent', $key, $entity_plugin, $types);
}