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/ d7/ PathRedirect.php, line 26 - Contains \Drupal\redirect\Plugin\migrate\source\d7\PathRedirect.
Class
- PathRedirect
- Drupal 7 path redirect source from database.
Namespace
Drupal\redirect\Plugin\migrate\source\d7Code
public function query() {
// Select path redirects.
$query = $this
->select('redirect', 'p')
->fields('p');
return $query;
}