You are here

public function media_browser_plus_views_handler_area_actions::render_action_edit in Media Browser Plus 7.3

Renders the output for the edit action.

File

views/media_browser_plus_views_handler_area_actions.inc, line 97
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_edit() {
  $element = array(
    '#type' => 'button',
    '#name' => 'mbp-action-edit',
    '#value' => t('Edit selected'),
    '#attributes' => array(
      'class' => array(
        'mbp-action',
        'mbp-action-edit',
      ),
    ),
  );
  return render($element);
}