Elgg  Version 6.1
Static Public Member Functions | List of all members
Elgg\Menus\Breadcrumbs Class Reference

Prepares breadcrumbs. More...

Static Public Member Functions

static cleanupBreadcrumbs (\Elgg\Event $event)
 Prepare breadcrumbs before display. More...
 
static addHomeItem (\Elgg\Event $event)
 Adds a home item. More...
 

Detailed Description

Prepares breadcrumbs.

Since
5.0

Definition at line 12 of file Breadcrumbs.php.

Member Function Documentation

static Elgg\Menus\Breadcrumbs::addHomeItem ( \Elgg\Event  $event)
static

Adds a home item.

Parameters
\Elgg\Event$event'prepare', 'menu:breadcrumbs'
Returns
null|PreparedMenu

Definition at line 54 of file Breadcrumbs.php.

static Elgg\Menus\Breadcrumbs::cleanupBreadcrumbs ( \Elgg\Event  $event)
static

Prepare breadcrumbs before display.

This turns titles into 100-character excerpts, and also removes the last crumb if it's not a link.

Parameters
\Elgg\Event$event'prepare', 'menu:breadcrumbs'
Returns
void

Definition at line 22 of file Breadcrumbs.php.


The documentation for this class was generated from the following file: