You are here

function example_address_country_admin_form_title in Countries 8

Same name and namespace in other branches
  1. 7.2 modules/countries_configuration/countries_configuration.api.php \example_address_country_admin_form_title()

An example title callback provided by hook_countries_configuration_options().

Parameters

object $country: The country that is being edited.

Return value

string The page title to display. This is run through check_plain() so there is no need to escape the name.

1 string reference to 'example_address_country_admin_form_title'
hook_countries_configuration_options in modules/countries_configuration/countries_configuration.api.php
Form settings for integrating with the countries configuration module.

File

modules/countries_configuration/countries_configuration.api.php, line 106
An overview of the hooks that this module provides.

Code

function example_address_country_admin_form_title($country) {
  return t('Edit !name address options', array(
    '!name' => $country
      ->label(),
  ));
}