Elgg  Version master
Variables
breadcrumbs.php File Reference

Go to the source code of this file.

Variables

 $breadcrumbs = elgg_extract('breadcrumbs', $vars)
 Layout breadcrumbs. More...
 
 if (empty($breadcrumbs))
 

Variable Documentation

if ($breadcrumbs===false) if (is_string($breadcrumbs)) $breadcrumbs = elgg_extract('breadcrumbs', $vars)

Layout breadcrumbs.

$vars['breadcrumbs'] Breadcrumbs Will not be rendered if the value is 'false' Will override breadcrumbs view if set to a string Will render 'navigation/breadcrumbs' view if not set or is an array of breadcrumbs [ [ 'title' => 'Breadcrumb title', 'href' => '/path/to/page', ], ]

Definition at line 19 of file breadcrumbs.php.

if(empty($breadcrumbs))

Definition at line 30 of file breadcrumbs.php.