groups/modules/commons/commons_profile_social/commons_profile_social.features.field_base.inc
Marton Kiss 8ac59801be Refactor commons build process
Update commons modules to release 7.12, and move the codebase under
modules/commons instead of constant fetching from remote repository.
The commons.make file removed so it is not required to rebuild
groups distribution.

Change-Id: I3be393ba1af34427e2915b18ab1ad718fd4e54db
2014-05-28 15:58:33 +02:00

105 lines
2.4 KiB
PHP

<?php
/**
* @file
* commons_profile_social.features.field_base.inc
*/
/**
* Implements hook_field_default_field_bases().
*/
function commons_profile_social_field_default_field_bases() {
$field_bases = array();
// Exported field_base: 'field_facebook_url'
$field_bases['field_facebook_url'] = array(
'active' => '1',
'cardinality' => '1',
'deleted' => '0',
'entity_types' => array(),
'field_name' => 'field_facebook_url',
'foreign keys' => array(),
'indexes' => array(),
'locked' => '0',
'module' => 'link',
'settings' => array(
'attributes' => array(
'class' => '',
'rel' => '',
'target' => 'default',
),
'display' => array(
'url_cutoff' => 80,
),
'enable_tokens' => 1,
'title' => 'optional',
'title_maxlength' => 128,
'title_value' => '',
'url' => 0,
),
'translatable' => '0',
'type' => 'link_field',
);
// Exported field_base: 'field_linkedin_url'
$field_bases['field_linkedin_url'] = array(
'active' => '1',
'cardinality' => '1',
'deleted' => '0',
'entity_types' => array(),
'field_name' => 'field_linkedin_url',
'foreign keys' => array(),
'indexes' => array(),
'locked' => '0',
'module' => 'link',
'settings' => array(
'attributes' => array(
'class' => '',
'rel' => '',
'target' => 'default',
),
'display' => array(
'url_cutoff' => 80,
),
'enable_tokens' => 1,
'title' => 'optional',
'title_maxlength' => 128,
'title_value' => '',
'url' => 0,
),
'translatable' => '0',
'type' => 'link_field',
);
// Exported field_base: 'field_twitter_url'
$field_bases['field_twitter_url'] = array(
'active' => '1',
'cardinality' => '1',
'deleted' => '0',
'entity_types' => array(),
'field_name' => 'field_twitter_url',
'foreign keys' => array(),
'indexes' => array(),
'locked' => '0',
'module' => 'link',
'settings' => array(
'attributes' => array(
'class' => '',
'rel' => '',
'target' => 'default',
),
'display' => array(
'url_cutoff' => 80,
),
'enable_tokens' => 1,
'title' => 'optional',
'title_maxlength' => 128,
'title_value' => '',
'url' => 0,
),
'translatable' => '0',
'type' => 'link_field',
);
return $field_bases;
}