function TrackChangesTest::fields

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

Overrides MigrateSourceInterface::fields

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

File

core/modules/migrate/tests/modules/migrate_track_changes_test/src/Plugin/migrate/source/TrackChangesTest.php, line 33

Class

TrackChangesTest
Source plugin for migration track changes tests.

Namespace

Drupal\migrate_track_changes_test\Plugin\migrate\source

Code

public function fields() {
    $fields = [
        'tid' => $this->t('Term id'),
        'name' => $this->t('Name'),
        'description' => $this->t('Description'),
    ];
    return $fields;
}

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