groups/modules/commons/commons_profile_base/commons_profile_base.features.field_base.inc
Marton Kiss c2acc71500 Upgrade Drupal Commons to 7.x-3.23
Apply the security fixes including:
- Drupal Core - Moderately Critical - Multiple Vulnerabilities - SA-CORE-2015-001
- SA-CONTRIB-2015-079 - Chaos tool suite (ctools) - Multiple vulnerabilities

The following patches were applied to 7.x-3.23 commons modules:
- patches/0001-utility-links-block-install-theme.patch
- patches/0002-events-page-refactor-to-pages-module.patch

Installation profile got a refactor of module installation, as groups_ modules
and l10n_updates deployed from an installation task to avoid memory
exhausted errors of the installation process.

Change-Id: I48481657124fdbbee84e1cbfec3a3a2b5f475c2c
2015-03-24 16:38:09 +01:00

76 lines
1.6 KiB
PHP

<?php
/**
* @file
* commons_profile_base.features.field_base.inc
*/
/**
* Implements hook_field_default_field_bases().
*/
function commons_profile_base_field_default_field_bases() {
$field_bases = array();
// Exported field_base: 'field_bio'
$field_bases['field_bio'] = array(
'active' => '1',
'cardinality' => '1',
'deleted' => '0',
'entity_types' => array(),
'field_name' => 'field_bio',
'indexes' => array(
'format' => array(
0 => 'format',
),
),
'locked' => '0',
'module' => 'text',
'settings' => array(),
'translatable' => '0',
'type' => 'text_long',
);
// Exported field_base: 'field_name_first'
$field_bases['field_name_first'] = array(
'active' => '1',
'cardinality' => '1',
'deleted' => '0',
'entity_types' => array(),
'field_name' => 'field_name_first',
'indexes' => array(
'format' => array(
0 => 'format',
),
),
'locked' => '0',
'module' => 'text',
'settings' => array(
'max_length' => '40',
),
'translatable' => '0',
'type' => 'text',
);
// Exported field_base: 'field_name_last'
$field_bases['field_name_last'] = array(
'active' => '1',
'cardinality' => '1',
'deleted' => '0',
'entity_types' => array(),
'field_name' => 'field_name_last',
'indexes' => array(
'format' => array(
0 => 'format',
),
),
'locked' => '0',
'module' => 'text',
'settings' => array(
'max_length' => '80',
),
'translatable' => '0',
'type' => 'text',
);
return $field_bases;
}