You are here

function crumbs_example_CrumbsMonoPlugin_NewsByDate::findTitle__news_x in Crumbs, the Breadcrumbs suite 7

Same name and namespace in other branches
  1. 7.2 example/lib/CrumbsMonoPlugin/NewsByDate.php \crumbs_example_CrumbsMonoPlugin_NewsByDate::findTitle__news_x()

This one only makes sense if you created a view with path "news/%"

File

example/lib/CrumbsMonoPlugin/NewsByDate.php, line 33

Class

crumbs_example_CrumbsMonoPlugin_NewsByDate

Code

function findTitle__news_x($path, $item) {

  // Title will be the year.
  return $item['map'][1];
}