You are here

function commerce_line_item_line_item_views_delete_form_submit in Commerce Core 7

Submit handler used when clicking the remove button.

1 string reference to 'commerce_line_item_line_item_views_delete_form_submit'
commerce_line_item_handler_field_edit_delete::views_form in modules/line_item/includes/views/handlers/commerce_line_item_handler_field_edit_delete.inc
Returns the form which replaces the placeholder from render().

File

modules/line_item/commerce_line_item.module, line 219
Defines the core Commerce line item entity and API functions interact with line items on orders.

Code

function commerce_line_item_line_item_views_delete_form_submit($form, &$form_state) {
  drupal_set_message(t('Line item removed.'));
}