crumbs.blog.inc in Crumbs, the Breadcrumbs suite 6.2
Same filename and directory in other branches
File
plugins/crumbs.blog.incView source
<?php
function blog_crumbs_plugins() {
return new _blog_CrumbsPlugin();
}
class _blog_CrumbsPlugin {
function findParent__node_x($path, $item) {
$node = $item['map'][1];
if ($node->type === 'blog') {
return 'blog/' . $node->uid;
}
}
function findTitle__blog_x($path, $item) {
$user = $item['map'][1];
return t("!name's blog", array(
'!name' => $user->name,
));
}
}