You are here

function subform_field_settings in Subform 5

File

./subform.module, line 166

Code

function subform_field_settings($op, &$field) {
  switch ($op) {
    case 'callbacks':
      return array(
        'view' => CONTENT_CALLBACK_CUSTOM,
      );
    case 'database columns':
      return array(
        'subform' => array(
          'type' => 'int',
          'not null' => FALSE,
          'default' => 0,
        ),
      );
  }
}