| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 | <?php/** * @file * showroom.features.field_instance.inc *//** * Implements hook_field_default_field_instances(). */function showroom_field_default_field_instances() {  $field_instances = array();  // Exported field_instance: 'taxonomy_term-showroom-description_field'.  $field_instances['taxonomy_term-showroom-description_field'] = array(    'bundle' => 'showroom',    'default_value' => NULL,    'deleted' => 0,    'description' => '',    'display' => array(      'default' => array(        'label' => 'above',        'settings' => array(),        'type' => 'hidden',        'weight' => 1,      ),    ),    'entity_type' => 'taxonomy_term',    'field_name' => 'description_field',    'label' => 'Description',    'required' => FALSE,    'settings' => array(      'display_summary' => 0,      'entity_translation_sync' => FALSE,      'hide_label' => array(        'entity' => 'entity',        'page' => 'page',      ),      'text_processing' => 1,      'user_register_form' => FALSE,    ),    'widget' => array(      'module' => 'text',      'settings' => array(        'rows' => 20,        'summary_rows' => 5,      ),      'type' => 'text_textarea_with_summary',      'weight' => -5,    ),  );  // Exported field_instance: 'taxonomy_term-showroom-name_field'.  $field_instances['taxonomy_term-showroom-name_field'] = array(    'bundle' => 'showroom',    'default_value' => NULL,    'deleted' => 0,    'description' => '',    'display' => array(      'default' => array(        'label' => 'above',        'settings' => array(),        'type' => 'hidden',        'weight' => 0,      ),    ),    'entity_type' => 'taxonomy_term',    'field_name' => 'name_field',    'label' => 'Nom',    'required' => TRUE,    'settings' => array(      'entity_translation_sync' => FALSE,      'hide_label' => array(        'entity' => 'entity',        'page' => 'page',      ),      'text_processing' => 0,      'user_register_form' => FALSE,    ),    'widget' => array(      'module' => 'text',      'settings' => array(        'size' => 60,      ),      'type' => 'text_textfield',      'weight' => -5,    ),  );  // Translatables  // Included for use with string extractors like potx.  t('Description');  t('Nom');  return $field_instances;}
 |