You are here

function link_attribute_property_get in Link 7

Entity property info getter callback for link attributes.

1 string reference to 'link_attribute_property_get'
link_field_item_property_info in ./link.module
Defines info for the properties of the link-field item data structure.

File

./link.module, line 2027
Defines simple link field types.

Code

function link_attribute_property_get($data, array $options, $name, $type, $info) {
  return isset($data[$name]) ? array_filter($data[$name]) : array();
}