function oa_notifications_show_details_button in Open Atrium Notifications 7.2
Builds the show details button.
1 call to oa_notifications_show_details_button()
File
- ./
oa_notifications.module, line 1345
Code
function oa_notifications_show_details_button() {
return array(
'#type' => 'submit',
'#value' => t('Expand all'),
'#name' => 'oa_notifications_detail',
'#ajax' => array(
'callback' => 'oa_notifications_details_callback',
'wrapper' => 'notify-data',
'prevent' => 'submit',
),
'#limit_validation_errors' => array(),
'#prefix' => '<div class="oa-notify-details">',
'#suffix' => '</div>',
);
}