function Field::fields
Same name in this branch
- 11.x core/modules/field/src/Plugin/migrate/source/d7/Field.php \Drupal\field\Plugin\migrate\source\d7\Field::fields()
Same name in other branches
- 9 core/modules/field/src/Plugin/migrate/source/d6/Field.php \Drupal\field\Plugin\migrate\source\d6\Field::fields()
- 9 core/modules/field/src/Plugin/migrate/source/d7/Field.php \Drupal\field\Plugin\migrate\source\d7\Field::fields()
- 8.9.x core/modules/field/src/Plugin/migrate/source/d6/Field.php \Drupal\field\Plugin\migrate\source\d6\Field::fields()
- 8.9.x core/modules/field/src/Plugin/migrate/source/d7/Field.php \Drupal\field\Plugin\migrate\source\d7\Field::fields()
- 10 core/modules/field/src/Plugin/migrate/source/d6/Field.php \Drupal\field\Plugin\migrate\source\d6\Field::fields()
- 10 core/modules/field/src/Plugin/migrate/source/d7/Field.php \Drupal\field\Plugin\migrate\source\d7\Field::fields()
Overrides MigrateSourceInterface::fields
1 call to Field::fields()
- FieldOptionTranslation::fields in core/
modules/ field/ src/ Plugin/ migrate/ source/ d6/ FieldOptionTranslation.php
1 method overrides Field::fields()
- FieldOptionTranslation::fields in core/
modules/ field/ src/ Plugin/ migrate/ source/ d6/ FieldOptionTranslation.php
File
-
core/
modules/ field/ src/ Plugin/ migrate/ source/ d6/ Field.php, line 52
Class
- Field
- Drupal 6 field source from database.
Namespace
Drupal\field\Plugin\migrate\source\d6Code
public function fields() {
return [
'field_name' => $this->t('Field name'),
'type' => $this->t('Type (text, integer, ....)'),
'widget_type' => $this->t('An instance-specific widget type'),
'global_settings' => $this->t('Global settings. Shared with every field instance.'),
'required' => $this->t('Required'),
'multiple' => $this->t('Multiple'),
'db_storage' => $this->t('DB storage'),
'module' => $this->t('Module'),
'db_columns' => $this->t('DB Columns'),
'active' => $this->t('Active'),
'locked' => $this->t('Locked'),
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.