You are here

function properties_attribute_delete in Dynamic properties 7

Delete an attribute.

Parameters

$attribute: Attribute object.

1 call to properties_attribute_delete()
properties_admin_attributes_delete_submit in ./properties.admin.inc
Submit handler to delete an attribute.

File

./properties.module, line 828
This module provides a dynamic property field that can contain an unlimited number of attribute value pairs.

Code

function properties_attribute_delete($attribute) {
  $function_name = _properties_get_call('attribute', 'delete');
  return $function_name($attribute);
}