Permalink
Fetching contributors…
Cannot retrieve contributors at this time
242 lines (234 sloc) 5.4 KB
<?php
/**
* Implementation of hook_content_default_fields().
*/
function atrium_profile_content_default_fields() {
$fields = array();
// Exported field: field_profile_address
$fields['profile-field_profile_address'] = array(
'field_name' => 'field_profile_address',
'type_name' => 'profile',
'display_settings' => array(
'label' => array(
'format' => 'above',
'exclude' => 0,
),
'teaser' => array(
'format' => 'default',
'exclude' => 0,
),
'full' => array(
'format' => 'default',
'exclude' => 0,
),
'4' => array(
'format' => 'default',
'exclude' => 0,
),
'2' => array(
'format' => 'default',
'exclude' => 0,
),
'3' => array(
'format' => 'default',
'exclude' => 0,
),
'token' => array(
'format' => 'default',
'exclude' => 0,
),
'weight' => 0,
),
'widget_active' => '1',
'type' => 'text',
'required' => '0',
'multiple' => '0',
'module' => 'text',
'active' => '1',
'text_processing' => 1,
'max_length' => '',
'allowed_values' => '',
'allowed_values_php' => '',
'widget' => array(
'rows' => NULL,
'size' => NULL,
'label' => 'Address',
'weight' => '10',
'description' => '',
'type' => 'text_textarea',
'module' => 'text',
),
);
// Exported field: field_profile_organization
$fields['profile-field_profile_organization'] = array(
'field_name' => 'field_profile_organization',
'type_name' => 'profile',
'display_settings' => array(
'label' => array(
'format' => 'above',
'exclude' => 0,
),
'teaser' => array(
'format' => 'default',
'exclude' => 0,
),
'full' => array(
'format' => 'default',
'exclude' => 0,
),
'4' => array(
'format' => 'default',
'exclude' => 0,
),
'2' => array(
'format' => 'default',
'exclude' => 0,
),
'3' => array(
'format' => 'default',
'exclude' => 0,
),
'token' => array(
'format' => 'default',
'exclude' => 0,
),
'weight' => 0,
),
'widget_active' => '1',
'type' => 'text',
'required' => '0',
'multiple' => '0',
'module' => 'text',
'active' => '1',
'text_processing' => 0,
'max_length' => '',
'allowed_values' => '',
'allowed_values_php' => '',
'widget' => array(
'rows' => NULL,
'size' => NULL,
'label' => 'Organization',
'weight' => 0,
'description' => '',
'type' => 'text_textfield',
'module' => 'text',
),
);
// Exported field: field_profile_telephone
$fields['profile-field_profile_telephone'] = array(
'field_name' => 'field_profile_telephone',
'type_name' => 'profile',
'display_settings' => array(
'label' => array(
'format' => 'above',
'exclude' => 0,
),
'teaser' => array(
'format' => 'default',
'exclude' => 0,
),
'full' => array(
'format' => 'default',
'exclude' => 0,
),
'4' => array(
'format' => 'default',
'exclude' => 0,
),
'2' => array(
'format' => 'default',
'exclude' => 0,
),
'3' => array(
'format' => 'default',
'exclude' => 0,
),
'token' => array(
'format' => 'default',
'exclude' => 0,
),
'weight' => 0,
),
'widget_active' => '1',
'type' => 'text',
'required' => '0',
'multiple' => '0',
'module' => 'text',
'active' => '1',
'text_processing' => 0,
'max_length' => '',
'allowed_values' => '',
'allowed_values_php' => '',
'widget' => array(
'rows' => NULL,
'size' => NULL,
'label' => 'Telephone',
'weight' => 0,
'description' => '',
'type' => 'text_textfield',
'module' => 'text',
),
);
// Exported field: field_profile_url
$fields['profile-field_profile_url'] = array(
'field_name' => 'field_profile_url',
'type_name' => 'profile',
'display_settings' => array(
'label' => array(
'format' => 'above',
'exclude' => 0,
),
'teaser' => array(
'format' => 'default',
'exclude' => 0,
),
'full' => array(
'format' => 'default',
'exclude' => 0,
),
'4' => array(
'format' => 'default',
'exclude' => 0,
),
'2' => array(
'format' => 'default',
'exclude' => 0,
),
'3' => array(
'format' => 'default',
'exclude' => 0,
),
'token' => array(
'format' => 'default',
'exclude' => 0,
),
'weight' => 0,
),
'widget_active' => '1',
'type' => 'text',
'required' => '0',
'multiple' => '0',
'module' => 'text',
'active' => '1',
'text_processing' => 0,
'max_length' => '',
'allowed_values' => '',
'allowed_values_php' => '',
'widget' => array(
'rows' => NULL,
'size' => NULL,
'label' => 'URL',
'weight' => '9',
'description' => '',
'type' => 'text_textfield',
'module' => 'text',
),
);
// Translatables
// Included for use with string extractors like potx.
t('Address');
t('Organization');
t('Telephone');
t('URL');
return $fields;
}