function VariableMultiRow::fields

Same name in other branches
  1. 8.9.x core/modules/migrate_drupal/src/Plugin/migrate/source/VariableMultiRow.php \Drupal\migrate_drupal\Plugin\migrate\source\VariableMultiRow::fields()
  2. 10 core/modules/migrate_drupal/src/Plugin/migrate/source/VariableMultiRow.php \Drupal\migrate_drupal\Plugin\migrate\source\VariableMultiRow::fields()
  3. 11.x core/modules/migrate_drupal/src/Plugin/migrate/source/VariableMultiRow.php \Drupal\migrate_drupal\Plugin\migrate\source\VariableMultiRow::fields()

Overrides MigrateSourceInterface::fields

2 methods override VariableMultiRow::fields()
Color::fields in core/modules/color/src/Plugin/migrate/source/d7/Color.php
Returns available fields on the source.
ThemeSettings::fields in core/modules/system/src/Plugin/migrate/source/d7/ThemeSettings.php
Returns available fields on the source.

File

core/modules/migrate_drupal/src/Plugin/migrate/source/VariableMultiRow.php, line 57

Class

VariableMultiRow
Drupal 6/7 multiple variables source from database.

Namespace

Drupal\migrate_drupal\Plugin\migrate\source

Code

public function fields() {
    return [
        'name' => $this->t('Name'),
        'value' => $this->t('Value'),
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.