function SimpleSource::query

Overrides SqlBase::query

File

core/modules/migrate/tests/modules/migrate_plugin_config_test/src/Plugin/migrate/source/SimpleSource.php, line 22

Class

SimpleSource
Simple source for testing changing configuration.

Namespace

Plugin\migrate\source

Code

public function query() : SelectInterface {
    return $this->select('source_table', 's')
        ->fields('s', [
        'id',
    ]);
}

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