You are here

function countries_page_title in Countries 8

Same name and namespace in other branches
  1. 7.2 countries.module \countries_page_title()
  2. 7 countries.module \countries_page_title()

Menu page title callback.

Return value

string The santitised country name.

1 string reference to 'countries_page_title'
countries_menu in ./countries.module
Implements hook_menu().

File

./countries.module, line 115
Defines the field and entity information for countries.

Code

function countries_page_title($country) {
  return check_plain($country
    ->label());
}