You are here

function fe_paths_config_delete_confirm in File Entity Paths 7.2

Form build for configuration deleting form.

_state

Parameters

$form:

$config:

Return value

mixed

1 string reference to 'fe_paths_config_delete_confirm'
fe_paths_menu in ./fe_paths.module
Implements hook_menu().

File

./fe_paths.admin.inc, line 394
Admin ui for the File Entity Paths module.

Code

function fe_paths_config_delete_confirm($form, &$form_state, $config) {
  $form['id'] = array(
    '#type' => 'value',
    '#value' => $config->id,
  );
  return confirm_form($form, t('Delete File Entity Path configuration.'), 'admin/config/media/fe-paths', t('Are you sure you want to delete %title configuration?', array(
    '%title' => $config->label,
  )), t('Delete'), t('Cancel'));
}