public function PathRedirect::query in Redirect 8
Same name in this branch
- 8 src/Plugin/migrate/source/PathRedirect.php \Drupal\redirect\Plugin\migrate\source\PathRedirect::query()
- 8 src/Plugin/migrate/source/d7/PathRedirect.php \Drupal\redirect\Plugin\migrate\source\d7\PathRedirect::query()
Return value
\Drupal\Core\Database\Query\SelectInterface
Overrides SqlBase::query
File
- src/
Plugin/ migrate/ source/ PathRedirect.php, line 20
Class
- PathRedirect
- Drupal 6 path redirect source from database.
Namespace
Drupal\redirect\Plugin\migrate\sourceCode
public function query() {
// Select path redirects.
$query = $this
->select('path_redirect', 'p')
->fields('p', [
'rid',
'source',
'redirect',
'query',
'fragment',
'language',
'type',
'last_used',
]);
return $query;
}