You are here

function paragraphs_items_delete_confirm in Paragraphs table 7

Form for deleting a field collection item.

File

./pharagraphs_table.pages.inc, line 57

Code

function paragraphs_items_delete_confirm($form, &$form_state, $paragraphs_items) {
  $form_state += array(
    'paragraphs_items' => $paragraphs_items,
  );
  return confirm_form($form, t('Are you sure you want to delete %label?', array(
    '%label' => $paragraphs_items
      ->label(),
  )), $paragraphs_items
    ->path(), t('This action cannot be undone.'), t('Delete'), t('Cancel'));
}