public static property TripalField::$default_instance_settings

File

tripal/includes/TripalFields/TripalField.inc, line 43

Class

TripalField

Code

public static $default_instance_settings = array(
  // The short name for the vocabulary (e.g. shcema, SO, GO, PATO, etc.).
  'term_vocabulary' => 'schema',
  // The name of the term.
  'term_name' => 'Thing',
  // The unique ID (i.e. accession) of the term.
  'term_accession' => 'Thing',
  // Set to TRUE if the site admin is not allowed to change the term
  // type, otherwise the admin can change the term mapped to a field.
  'term_fixed' => FALSE,
  // Set to TRUE if the field should be automatically attached to an entity
  // when it is loaded. Otherwise, the callee must attach the field
  // manually.  This is useful to prevent really large fields from slowing
  // down page loads.  However, if the content type display is set to
  // "Hide empty fields" then this has no effect as all fields must be
  // attached to determine which are empty.  It should always work with
  // web services.
  'auto_attach' => TRUE,
);