123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173 |
- <?php
- /**
- * @file
- * materio_personal_notes.features.field_instance.inc
- */
- /**
- * Implements hook_field_default_field_instances().
- */
- function materio_personal_notes_field_default_field_instances() {
- $field_instances = array();
- // Exported field_instance: 'node-note-field_personal_note'.
- $field_instances['node-note-field_personal_note'] = array(
- 'bundle' => 'note',
- 'default_value' => NULL,
- 'deleted' => 0,
- 'description' => '',
- 'display' => array(
- 'bookmark' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'cardbig' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'cardfull' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'cardmedium' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'cardsmall' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'default' => array(
- 'label' => 'hidden',
- 'module' => 'text',
- 'settings' => array(),
- 'type' => 'text_plain',
- 'weight' => 0,
- ),
- 'homeblock' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'teaser' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- ),
- 'entity_type' => 'node',
- 'field_name' => 'field_personal_note',
- 'label' => 'Personal Note',
- 'required' => 0,
- 'settings' => array(
- 'entity_translation_sync' => FALSE,
- 'text_processing' => 0,
- 'user_register_form' => FALSE,
- ),
- 'widget' => array(
- 'active' => 1,
- 'module' => 'text',
- 'settings' => array(
- 'rows' => 5,
- ),
- 'type' => 'text_textarea',
- 'weight' => 2,
- ),
- );
- // Exported field_instance: 'node-note-field_target_content_nid'.
- $field_instances['node-note-field_target_content_nid'] = array(
- 'bundle' => 'note',
- 'default_value' => NULL,
- 'deleted' => 0,
- 'description' => '',
- 'display' => array(
- 'bookmark' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'cardbig' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'cardfull' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'cardmedium' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'cardsmall' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'default' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 1,
- ),
- 'homeblock' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'teaser' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- ),
- 'entity_type' => 'node',
- 'field_name' => 'field_target_content_nid',
- 'label' => 'Target content nid',
- 'required' => 1,
- 'settings' => array(
- 'entity_translation_sync' => FALSE,
- 'max' => '',
- 'min' => '',
- 'prefix' => '',
- 'suffix' => '',
- 'user_register_form' => FALSE,
- ),
- 'widget' => array(
- 'active' => 0,
- 'module' => 'number',
- 'settings' => array(),
- 'type' => 'number',
- 'weight' => 1,
- ),
- );
- // Translatables
- // Included for use with string extractors like potx.
- t('Personal Note');
- t('Target content nid');
- return $field_instances;
- }
|