public function LegalConditions::query in Legal 8
Same name and namespace in other branches
- 2.0.x src/Plugin/migrate/source/d7/LegalConditions.php \Drupal\legal\Plugin\migrate\source\d7\LegalConditions::query()
Return value
\Drupal\Core\Database\Query\SelectInterface
Overrides SqlBase::query
File
- src/
Plugin/ migrate/ source/ d7/ LegalConditions.php, line 21
Class
- LegalConditions
- Drupal 7 source plugin for Legal T&Cs.
Namespace
Drupal\legal\Plugin\migrate\source\d7Code
public function query() {
$query = $this
->select('legal_conditions', 'c')
->fields('c')
->orderBy('c.tc_id');
return $query;
}