ctools_ajax_sample_show_raptor
Drupal 7 ctools_ajax_sample_show_raptor($object)
Provide some output for our raptor.
1 string reference to 'ctools_ajax_sample_show_raptor'
File
- sites/
all/ modules/ ctools/ ctools_ajax_sample/ ctools_ajax_sample.module, line 707 - Sample AJAX functionality so people can see some of the CTools AJAX features in use.
Code
function ctools_ajax_sample_show_raptor($object) {
return t('You have a @type @raptor named "@name".', array(
'@type' => empty($object->domesticated) ? t('wild') : t('domesticated'),
'@raptor' => $object->raptor,
'@name' => $object->name,
));
}

