public function AgreementType::query in Agreement 8.2
Same name and namespace in other branches
- 3.0.x src/Plugin/migrate/source/d7/AgreementType.php \Drupal\agreement\Plugin\migrate\source\d7\AgreementType::query()
Return value
\Drupal\Core\Database\Query\SelectInterface
Overrides SqlBase::query
File
- src/
Plugin/ migrate/ source/ d7/ AgreementType.php, line 44
Class
- AgreementType
- Agreement type migrate source plugin.
Namespace
Drupal\agreement\Plugin\migrate\source\d7Code
public function query() {
return $this
->select('agreement_type', 'agreement_type')
->fields('agreement_type', [
'name',
'type',
'path',
'settings',
'agreement',
]);
}