You are here

function properties_field_info in Dynamic properties 7

Implements hook_field_info().

File

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

Code

function properties_field_info() {
  return array(
    'properties' => array(
      'label' => t('Dynamic Properties'),
      'description' => t('This field stores a dynamic amount of properties in the database.'),
      'settings' => array(),
      'instance_settings' => array(),
      'default_widget' => 'properties_table',
      'default_formatter' => 'properties_formatter_list',
    ),
  );
}