function ctools_ajax_sample_show_lizard in Chaos Tool Suite (ctools) 6
Same name and namespace in other branches
- 7 ctools_ajax_sample/ctools_ajax_sample.module \ctools_ajax_sample_show_lizard()
Provide some output for our raptor.
1 string reference to 'ctools_ajax_sample_show_lizard'
- ctools_ajax_sample_animals in ctools_ajax_sample/
ctools_ajax_sample.module - Get a list of our animals and associated forms.
File
- ctools_ajax_sample/
ctools_ajax_sample.module, line 586 - Sample AJAX functionality so people can see some of the CTools AJAX features in use.
Code
function ctools_ajax_sample_show_lizard($object) {
return t('You have a @type lizard named "@name".', array(
'@type' => empty($object->lizard) ? t('non-venomous') : t('venomous'),
'@name' => $object->name,
));
}