public function BeerUser::query in Migrate Plus 8.2
Same name and namespace in other branches
- 8.5 migrate_example/src/Plugin/migrate/source/BeerUser.php \Drupal\migrate_example\Plugin\migrate\source\BeerUser::query()
- 8 migrate_example/src/Plugin/migrate/source/BeerUser.php \Drupal\migrate_example\Plugin\migrate\source\BeerUser::query()
- 8.3 migrate_example/src/Plugin/migrate/source/BeerUser.php \Drupal\migrate_example\Plugin\migrate\source\BeerUser::query()
- 8.4 migrate_example/src/Plugin/migrate/source/BeerUser.php \Drupal\migrate_example\Plugin\migrate\source\BeerUser::query()
Return value
\Drupal\Core\Database\Query\SelectInterface
Overrides SqlBase::query
File
- migrate_example/
src/ Plugin/ migrate/ source/ BeerUser.php, line 20
Class
- BeerUser
- Source plugin for beer user accounts.
Namespace
Drupal\migrate_example\Plugin\migrate\sourceCode
public function query() {
return $this
->select('migrate_example_beer_account', 'mea')
->fields('mea', [
'aid',
'status',
'registered',
'username',
'nickname',
'password',
'email',
'sex',
'beers',
]);
}