You are here

function ad_type_title in Advertisement 7.2

Title callback: return the human-readable ad type name.

1 string reference to 'ad_type_title'
ad_ui_menu in ./ad_ui.module
Implements hook_menu().

File

./ad.module, line 250
Defines the core ad entity, including the entity itself, the bundle definitions (ad types), and various API functions to manage ads and interact with them through forms and autocompletes.

Code

function ad_type_title($ad_type) {
  return $ad_type->name;
}