You are here

function properties_empty_attribute in Dynamic properties 7

Returns an empty attribute object.

File

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

Code

function properties_empty_attribute() {
  return (object) array(
    'label' => '',
    'name' => '',
  );
}