You are here

protected function crumbs_CurrentPageInfo::breadcrumbData in Crumbs, the Breadcrumbs suite 7.2

Assemble all breadcrumb data.

Return value

array

See also

crumbs_CurrentPageInfo::$breadcrumbData

File

lib/CurrentPageInfo.php, line 85

Class

crumbs_CurrentPageInfo
Creates various data related to the current page.

Code

protected function breadcrumbData() {
  if (empty($this->breadcrumbItems)) {
    return FALSE;
  }
  return array(
    'trail' => $this->trail,
    'items' => $this->breadcrumbItems,
    'html' => $this->breadcrumbHtml,
  );
}