20 'name' =>
"breadcrumb-{$i}",
42 'text' =>
$entity->getDisplayName(),
63 'name' =>
'container',
70 $collection_route =
"collection:{$entity_type}:{$entity_subtype}:friends";
71 }
elseif ($entity_type ===
'group') {
72 $collection_route =
"collection:{$entity_type}:{$entity_subtype}:all";
74 $collection_route =
"collection:{$entity_type}:{$entity_subtype}:owner";
76 $collection_route =
"collection:{$entity_type}:{$entity_subtype}:group";
78 $collection_route =
"collection:{$entity_type}:{$entity_subtype}:all";
80 $collection_route =
"collection:{$entity_type}:{$entity_subtype}:container";
88 if ($parameters !==
false) {
92 $label =
elgg_echo(
"collection:{$entity_type}:{$entity_subtype}:friends");
100 'name' =>
'collection',
110 $all_route_name =
"collection:{$entity_type}:{$entity_subtype}:all";
116 'name' =>
'collection',
117 'text' =>
elgg_echo(
"collection:{$entity_type}:{$entity_subtype}"),
if($item instanceof \ElggEntity) elseif($item instanceof \ElggRiverItem) elseif($item instanceof \ElggRelationship) elseif(is_callable([ $item, 'getType']))
elgg_http_url_is_identical(string $url1, string $url2, array $ignore_params=['offset', 'limit'])
Test if two URLs are functionally identical.
_elgg_services()
Get the global service provider.
elgg_push_breadcrumb(string $text, string|false $href=false)
Breadcrumbs.
elgg_push_entity_breadcrumbs(\ElggEntity $entity)
Resolves and pushes entity breadcrumbs based on named routes.
elgg_push_collection_breadcrumbs(string $entity_type, string $entity_subtype, ?\ElggEntity $container=null, bool $friends=false)
Resolves and pushes collection breadcrumbs for a container.
elgg_register_menu_item(string $menu_name, array|\ElggMenuItem $menu_item)
Elgg navigation library Functions for managing menus and other navigational elements.
elgg_language_key_exists(string $key, string $language='en')
Check if a given language key exists.
elgg_echo(string $message_key, array $args=[], string $language='')
Elgg language module Functions to manage language and translations.
elgg_get_current_route_name()
Get the route name for the current request.
elgg_route_exists(string $name)
Check if a route is registered.
elgg_get_current_url()
Returns the current page's complete URL.
elgg_generate_url(string $name, array $parameters=[])
Generate a URL for named route.