function _easy_breadcrumb_obtain_home_title in Easy Breadcrumb 7.2
Obtain the title of the front page.
Return value
string The front-page's title.
1 call to _easy_breadcrumb_obtain_home_title()
- _easy_breadcrumb_build_items in ./
easy_breadcrumb.module - Helper function to generate breadcrumb items.
File
- ./
easy_breadcrumb.module, line 338 - The Easy Breadcrumb module provides a block to be embedded in any page.
Code
function _easy_breadcrumb_obtain_home_title() {
$front_text = variable_get(EasyBreadcrumbConstants::DB_VAR_HOME_SEGMENT_TITLE);
if (!isset($front_text) || $front_text === '') {
$front_text = t('Home');
}
return $front_text;
}