function crumbs_InjectedAPI_hookCrumbsPlugins::entityTitlePlugin in Crumbs, the Breadcrumbs suite 7.2
Register an entity title 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 119
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 entityTitlePlugin($key, $entity_plugin = NULL, $types = NULL) {
$this
->entityPlugin('title', $key, $entity_plugin, $types);
}