You are here

public function Agreement::query in Agreement 3.0.x

Same name and namespace in other branches
  1. 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\source

Code

public function query() {
  $fields = $this
    ->fields();
  return $this
    ->select('agreement', 'agreement')
    ->fields('agreement', array_keys($fields));
}