How to create View Bulk operation. How to get the selected rows, using that how to all custom function and perform action with success message.

here My Works ( Which not perform correctly )

function mymodulename_action_info() {
    return array(
      'my_application_reset_action' => array( 
        'type' => 'entity',
        'label' => t('Reset Field'), 
        'configurable' = FALSE,
        'pass rows' => TRUE,
      ),
    );
  }

 function my_application_reset_action($entity, $context = array()) { 
             // my reset function not calls and perform my action
  }

Comments

vishnumoorthy created an issue. See original summary.

vishnumoorthy’s picture

Issue summary: View changes