You are here

views_fractionslider_example.features.field_instance.inc in Views FractionSlider 7.2

File

views_fractionslider_example/views_fractionslider_example.features.field_instance.inc
View source
<?php

/**
 * @file
 * views_fractionslider_example.features.field_instance.inc
 */

/**
 * Implements hook_field_default_field_instances().
 */
function views_fractionslider_example_field_default_field_instances() {
  $field_instances = array();

  // Exported field_instance: 'node-views_fractionslider-field_vfs_body'.
  $field_instances['node-views_fractionslider-field_vfs_body'] = array(
    'bundle' => 'views_fractionslider',
    'default_value' => NULL,
    'deleted' => 0,
    'description' => '',
    'display' => array(
      'default' => array(
        'label' => 'above',
        'module' => 'text',
        'settings' => array(),
        'type' => 'text_default',
        'weight' => 0,
      ),
      'teaser' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
    ),
    'entity_type' => 'node',
    'field_name' => 'field_vfs_body',
    'label' => 'Body',
    'required' => 0,
    'settings' => array(
      'text_processing' => 1,
      'user_register_form' => FALSE,
    ),
    'widget' => array(
      'active' => 1,
      'module' => 'text',
      'settings' => array(
        'rows' => 5,
      ),
      'type' => 'text_textarea',
      'weight' => -4,
    ),
  );

  // Exported field_instance: 'node-views_fractionslider-field_vfs_image'.
  $field_instances['node-views_fractionslider-field_vfs_image'] = array(
    'bundle' => 'views_fractionslider',
    'deleted' => 0,
    'description' => '',
    'display' => array(
      'default' => array(
        'label' => 'above',
        'module' => 'image',
        'settings' => array(
          'image_link' => '',
          'image_style' => '',
        ),
        'type' => 'image',
        'weight' => 1,
      ),
      'teaser' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
    ),
    'entity_type' => 'node',
    'field_name' => 'field_vfs_image',
    'label' => 'Image',
    'required' => 0,
    'settings' => array(
      'alt_field' => 0,
      'default_image' => 0,
      'file_directory' => 'vfs',
      'file_extensions' => 'png gif jpg jpeg',
      'max_filesize' => '',
      'max_resolution' => '',
      'min_resolution' => '',
      'title_field' => 0,
      'user_register_form' => FALSE,
    ),
    'widget' => array(
      'active' => 1,
      'module' => 'image',
      'settings' => array(
        'preview_image_style' => 'thumbnail',
        'progress_indicator' => 'throbber',
      ),
      'type' => 'image_image',
      'weight' => -3,
    ),
  );

  // Translatables
  // Included for use with string extractors like potx.
  t('Body');
  t('Image');
  return $field_instances;
}

Functions

Namesort descending Description
views_fractionslider_example_field_default_field_instances Implements hook_field_default_field_instances().