You are here

function icon_bundle_get_title in Icon API 7

Same name and namespace in other branches
  1. 8 icon.module \icon_bundle_get_title()

Helper function to return the page title for bundles.

1 string reference to 'icon_bundle_get_title'
icon_menu in ./icon.module
Implements hook_menu().

File

./icon.module, line 473
icon.module Provides icon integration with menu items.

Code

function icon_bundle_get_title($bundle) {
  return !empty($bundle['title']) ? $bundle['title'] : t('Bundle');
}