public function media_browser_plus_views_handler_area_actions::render_action_delete in Media Browser Plus 7.3
Renders the output for the delete action.
File
- views/
media_browser_plus_views_handler_area_actions.inc, line 112 - Definition of media_browser_plus_views_handler_area_actions.
Class
- media_browser_plus_views_handler_area_actions
- MBP area with file actions.
Code
public function render_action_delete() {
$element = array(
'#type' => 'button',
'#name' => 'mbp-action-delete',
'#value' => t('Delete selected'),
'#attributes' => array(
'class' => array(
'mbp-action',
'mbp-action-delete',
),
),
);
return render($element);
}