You are here

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

Register an entity route. This should be called by those modules that define entity types and routes.

Parameters

string $entity_type:

string $route:

string $bundle_key:

string $bundle_name:

File

lib/InjectedAPI/hookCrumbsPlugins.php, line 76

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 entityRoute($entity_type, $route, $bundle_key, $bundle_name) {
  $this->entityPluginCollection
    ->entityRoute($entity_type, $route, $bundle_key, $bundle_name);
}