public function BlockedIps::query in Drupal 8
Same name and namespace in other branches
- 9 core/modules/ban/src/Plugin/migrate/source/d7/BlockedIps.php \Drupal\ban\Plugin\migrate\source\d7\BlockedIps::query()
- 10 core/modules/ban/src/Plugin/migrate/source/d7/BlockedIps.php \Drupal\ban\Plugin\migrate\source\d7\BlockedIps::query()
Return value
\Drupal\Core\Database\Query\SelectInterface
Overrides SqlBase::query
File
- core/
modules/ ban/ src/ Plugin/ migrate/ source/ d7/ BlockedIps.php, line 20
Class
- BlockedIps
- Drupal 7 blocked IPs from database.
Namespace
Drupal\ban\Plugin\migrate\source\d7Code
public function query() {
return $this
->select('blocked_ips', 'bi')
->fields('bi', [
'ip',
]);
}