// Exported field: field_myfield1
$fields[] = array(
'field_name' => 'field_myfield1',
[...]
'allowed_values' => '',
'allowed_values_php' => '',
'widget' => array(
'rows' => 5,
'size' => '60',
'0' => FALSE,
'default_value' => array(
'0' => array(
'value' => '',
'_error_element' => 'default_value_widget][field_myfield1][0][value',
),
),
'default_value_php' => NULL,
'1' => FALSE,
'2' => FALSE,
'3' => FALSE,
'4' => FALSE,
'5' => FALSE,
'6' => FALSE,
'7' => FALSE,
'8' => FALSE,
'label' => '',
'weight' => '-1',
'description' => '',
'type' => 'text_textfield',
'module' => 'text',
),
);
I'm talking about these entries :
'1' => FALSE,
'2' => FALSE,
'3' => FALSE,
'4' => FALSE,
'5' => FALSE,
'6' => FALSE,
'7' => FALSE,
'8' => FALSE,
These make Drupal slower and for some other feature I have some many entries that make Drupal unusable with a White Page Of Death.
Is someone able to tell me what are these entries for ?
Is someone can tell me how to make feature not generate these entries ?
Comments
Comment #1
Manuel commentedThese :
'1' => FALSE,
'2' => FALSE,
'3' => FALSE,
'4' => FALSE,
'5' => FALSE,
'6' => FALSE,
'7' => FALSE,
'8' => FALSE,
appear sometimes when I generate a feature.
Comment #2
helmo commentedA bit late, but moving to the correct queue.
Comment #3
mpotter commentedSorry, but I've never seen that. Please reopen if you still see this in the latest version and give us more detail about the Field you are exporting.