Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #2
vishnumoorthy CreditAttribution: vishnumoorthy commented