Commit fd84c990 authored by lazzyvn's avatar lazzyvn Committed by Ra Mänd
Browse files

Issue #2763395 by lazzyvn, Andrew Gorokhovets: Field collection doesn't delete children data

parent 9561ce8b
......@@ -86,7 +86,7 @@ function field_collection_item_delete_confirm($form, &$form_state, $field_collec
function field_collection_item_delete_confirm_submit($form, &$form_state) {
$field_collection_item = $form_state['field_collection_item'];
drupal_set_message(t('%label has been deleted.', array('%label' => drupal_ucfirst($field_collection_item->label()))));
$form_state['redirect'] = '<front>';
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment