function crumbs_InjectedAPI_Collection_EntityPluginCollection::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/ Collection/ EntityPluginCollection.php, line 76
Class
Code
function entityRoute($entity_type, $route, $bundle_key, $bundle_name) {
$this->entityRoutes[$route] = array(
$entity_type,
$bundle_key,
$bundle_name,
);
}