public function Agreement::query in Agreement 3.0.x
Same name and namespace in other branches
- 8.2 src/Plugin/migrate/source/Agreement.php \Drupal\agreement\Plugin\migrate\source\Agreement::query()
Return value
\Drupal\Core\Database\Query\SelectInterface
Overrides SqlBase::query
File
- src/
Plugin/ migrate/ source/ Agreement.php, line 46
Class
- Agreement
- Agreement migrate source plugin.
Namespace
Drupal\agreement\Plugin\migrate\sourceCode
public function query() {
$fields = $this
->fields();
return $this
->select('agreement', 'agreement')
->fields('agreement', array_keys($fields));
}