function HighWaterTest::fields

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

Overrides MigrateSourceInterface::fields

1 call to HighWaterTest::fields()
HighWaterTest::query in core/modules/migrate/tests/modules/migrate_high_water_test/src/Plugin/migrate/source/HighWaterTest.php

File

core/modules/migrate/tests/modules/migrate_high_water_test/src/Plugin/migrate/source/HighWaterTest.php, line 33

Class

HighWaterTest
Source plugin for migration high water tests.

Namespace

Drupal\migrate_high_water_test\Plugin\migrate\source

Code

public function fields() {
    $fields = [
        'id' => $this->t('Id'),
        'title' => $this->t('Title'),
        'changed' => $this->t('Changed'),
    ];
    return $fields;
}

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