Form constructor to delete a ConfigTest object.
Drupal\config_test\Plugin\Core\Entity\ConfigTest $config_test: The ConfigTest object to delete.
function config_test_delete_form($form, &$form_state, ConfigTest $config_test) {
$form_state['config_test'] = $config_test;
$form['id'] = array(
'#type' => 'value',
'#value' => $config_test
->id(),
);
return confirm_form($form, format_string('Are you sure you want to delete %label', array(
'%label' => $config_test
->label(),
)), 'admin/structure/config_test', NULL, 'Delete');
}