function FieldInstance::fields

Same name in this branch
  1. 9 core/modules/field/src/Plugin/migrate/source/d6/FieldInstance.php \Drupal\field\Plugin\migrate\source\d6\FieldInstance::fields()
Same name in other branches
  1. 8.9.x core/modules/field/src/Plugin/migrate/source/d6/FieldInstance.php \Drupal\field\Plugin\migrate\source\d6\FieldInstance::fields()
  2. 8.9.x core/modules/field/src/Plugin/migrate/source/d7/FieldInstance.php \Drupal\field\Plugin\migrate\source\d7\FieldInstance::fields()
  3. 10 core/modules/field/src/Plugin/migrate/source/d6/FieldInstance.php \Drupal\field\Plugin\migrate\source\d6\FieldInstance::fields()
  4. 10 core/modules/field/src/Plugin/migrate/source/d7/FieldInstance.php \Drupal\field\Plugin\migrate\source\d7\FieldInstance::fields()
  5. 11.x core/modules/field/src/Plugin/migrate/source/d6/FieldInstance.php \Drupal\field\Plugin\migrate\source\d6\FieldInstance::fields()
  6. 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 117

Class

FieldInstance
Drupal 7 field instances source from database.

Namespace

Drupal\field\Plugin\migrate\source\d7

Code

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.