summaryrefslogtreecommitdiff
path: root/features/timelinejs_feature/timelinejs_feature.features.field.inc
diff options
context:
space:
mode:
Diffstat (limited to 'features/timelinejs_feature/timelinejs_feature.features.field.inc')
-rw-r--r--features/timelinejs_feature/timelinejs_feature.features.field.inc85
1 files changed, 80 insertions, 5 deletions
diff --git a/features/timelinejs_feature/timelinejs_feature.features.field.inc b/features/timelinejs_feature/timelinejs_feature.features.field.inc
index 831f89d..12b0bcf 100644
--- a/features/timelinejs_feature/timelinejs_feature.features.field.inc
+++ b/features/timelinejs_feature/timelinejs_feature.features.field.inc
@@ -616,6 +616,79 @@ function timelinejs_feature_field_default_fields() {
),
);
+ // Exported field: 'node-timeline-field_date_format'.
+ $fields['node-timeline-field_date_format'] = array(
+ 'field_config' => array(
+ 'active' => '1',
+ 'cardinality' => '1',
+ 'deleted' => '0',
+ 'entity_types' => array(),
+ 'field_name' => 'field_date_format',
+ 'foreign keys' => array(
+ 'format' => array(
+ 'columns' => array(
+ 'format' => 'format',
+ ),
+ 'table' => 'filter_format',
+ ),
+ ),
+ 'indexes' => array(
+ 'format' => array(
+ 0 => 'format',
+ ),
+ ),
+ 'locked' => '0',
+ 'module' => 'text',
+ 'settings' => array(
+ 'max_length' => '255',
+ ),
+ 'translatable' => '0',
+ 'type' => 'text',
+ ),
+ 'field_instance' => array(
+ 'bundle' => 'timeline',
+ 'default_value' => array(
+ 0 => array(
+ 'value' => '%Y,%m,%d',
+ ),
+ ),
+ 'deleted' => '0',
+ 'description' => 'Vide <a href="http://php.net/manual/en/function.strftime.php">strftime()</a>, deixe em branco em caso de dúvidas.',
+ 'display' => array(
+ 'default' => array(
+ 'label' => 'above',
+ 'module' => 'text',
+ 'settings' => array(),
+ 'type' => 'text_default',
+ 'weight' => 4,
+ ),
+ 'teaser' => array(
+ 'label' => 'above',
+ 'settings' => array(),
+ 'type' => 'hidden',
+ 'weight' => 0,
+ ),
+ ),
+ 'entity_type' => 'node',
+ 'field_name' => 'field_date_format',
+ 'label' => 'Formato de data',
+ 'required' => 0,
+ 'settings' => array(
+ 'text_processing' => '0',
+ 'user_register_form' => FALSE,
+ ),
+ 'widget' => array(
+ 'active' => 1,
+ 'module' => 'text',
+ 'settings' => array(
+ 'size' => '60',
+ ),
+ 'type' => 'text_textfield',
+ 'weight' => '5',
+ ),
+ ),
+ );
+
// Exported field: 'node-timeline-field_image'.
$fields['node-timeline-field_image'] = array(
'field_config' => array(
@@ -782,13 +855,15 @@ function timelinejs_feature_field_default_fields() {
// Included for use with string extractors like potx.
t('Body');
t('Comment');
- t('Date');
- t('Embeded');
- t('Source');
+ t('Data');
+ t('Embarcado');
+ t('Fonte');
+ t('Formato de data');
+ t('Imagem');
+ t('Linha do tempo');
t('Optional source if the timeline is built using external data.');
- t('Image');
- t('Timeline');
t('Tag');
+ t('Vide <a href="http://php.net/manual/en/function.strftime.php">strftime()</a>, deixe em branco em caso de dúvidas.');
return $fields;
}