Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Field.php

function Field::fields

Same name in this branch
  1. 11.1.x core/modules/field/src/Plugin/migrate/source/d6/Field.php \Drupal\field\Plugin\migrate\source\d6\Field::fields()

Overrides MigrateSourceInterface::fields

2 calls to Field::fields()
FieldOptionTranslation::fields in core/modules/field/src/Plugin/migrate/source/d7/FieldOptionTranslation.php
Returns available fields on the source.
FieldOptionTranslation::fields in core/modules/field/src/Plugin/migrate/source/d7/FieldOptionTranslation.php
Returns available fields on the source.
1 method overrides Field::fields()
FieldOptionTranslation::fields in core/modules/field/src/Plugin/migrate/source/d7/FieldOptionTranslation.php
Returns available fields on the source.

File

core/modules/field/src/Plugin/migrate/source/d7/Field.php, line 58

Class

Field
Drupal 7 field source from database.

Namespace

Drupal\field\Plugin\migrate\source\d7

Code

public function fields() {
    return [
        'id' => $this->t('The field ID.'),
        'field_name' => $this->t('The field name.'),
        'entity_type' => $this->t('Entity type'),
        'type' => $this->t('The field type.'),
        'module' => $this->t('The module that implements the field type.'),
        'active' => $this->t('The field status.'),
        'storage_type' => $this->t('The field storage type.'),
        'storage_module' => $this->t('The module that implements the field storage type.'),
        'storage_active' => $this->t('The field storage status.'),
        'locked' => $this->t('Locked'),
        'data' => $this->t('The field data.'),
        'cardinality' => $this->t('Cardinality'),
        'translatable' => $this->t('Translatable'),
        'deleted' => $this->t('Deleted'),
        'instances' => $this->t('The field instances.'),
    ];
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal