function properties_admin_attributes_delete in Dynamic properties 7
Form builder function; Provide a confirmation form to delete an attribute.
See also
properties_admin_attributes_delete_submit()
1 string reference to 'properties_admin_attributes_delete'
- properties_menu in ./
properties.module - Implements hook_menu().
File
- ./
properties.admin.inc, line 566 - Contains admin menu callbacks for properties.module.
Code
function properties_admin_attributes_delete($form, &$form_state, $attribute) {
$form['attribute'] = array(
'#type' => 'value',
'#value' => $attribute,
);
return confirm_form($form, t('Delete attribute %attribute', array(
'%attribute' => $attribute->label,
)), '');
}