function FieldInstance::fields
Same name in this branch
- 10 core/modules/field/src/Plugin/migrate/source/d6/FieldInstance.php \Drupal\field\Plugin\migrate\source\d6\FieldInstance::fields()
Same name in other branches
- 9 core/modules/field/src/Plugin/migrate/source/d6/FieldInstance.php \Drupal\field\Plugin\migrate\source\d6\FieldInstance::fields()
- 9 core/modules/field/src/Plugin/migrate/source/d7/FieldInstance.php \Drupal\field\Plugin\migrate\source\d7\FieldInstance::fields()
- 8.9.x core/modules/field/src/Plugin/migrate/source/d6/FieldInstance.php \Drupal\field\Plugin\migrate\source\d6\FieldInstance::fields()
- 8.9.x core/modules/field/src/Plugin/migrate/source/d7/FieldInstance.php \Drupal\field\Plugin\migrate\source\d7\FieldInstance::fields()
- 11.x core/modules/field/src/Plugin/migrate/source/d6/FieldInstance.php \Drupal\field\Plugin\migrate\source\d6\FieldInstance::fields()
- 11.x core/modules/field/src/Plugin/migrate/source/d7/FieldInstance.php \Drupal\field\Plugin\migrate\source\d7\FieldInstance::fields()
Overrides MigrateSourceInterface::fields
2 calls to FieldInstance::fields()
- FieldInstancePerViewMode::fields in core/
modules/ field/ src/ Plugin/ migrate/ source/ d7/ FieldInstancePerViewMode.php - Returns available fields on the source.
- ViewMode::fields in core/
modules/ field/ src/ Plugin/ migrate/ source/ d7/ ViewMode.php - Returns available fields on the source.
2 methods override FieldInstance::fields()
- FieldInstancePerViewMode::fields in core/
modules/ field/ src/ Plugin/ migrate/ source/ d7/ FieldInstancePerViewMode.php - Returns available fields on the source.
- ViewMode::fields in core/
modules/ field/ src/ Plugin/ migrate/ source/ d7/ ViewMode.php - Returns available fields on the source.
File
-
core/
modules/ field/ src/ Plugin/ migrate/ source/ d7/ FieldInstance.php, line 119
Class
- FieldInstance
- Drupal 7 field instances source from database.
Namespace
Drupal\field\Plugin\migrate\source\d7Code
public function fields() {
return [
'id' => $this->t('The field instance ID.'),
'field_id' => $this->t('The field ID.'),
'field_name' => $this->t('The field name.'),
'entity_type' => $this->t('The entity type.'),
'bundle' => $this->t('The entity bundle.'),
'data' => $this->t('The field instance data.'),
'deleted' => $this->t('Deleted'),
'type' => $this->t('The field type'),
'instances' => $this->t('The field instances.'),
'field_definition' => $this->t('The field definition.'),
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.