public function BlockedIps::query in Drupal 10
Same name and namespace in other branches
- 8 core/modules/ban/src/Plugin/migrate/source/d7/BlockedIps.php \Drupal\ban\Plugin\migrate\source\d7\BlockedIps::query()
- 9 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 25
Class
- BlockedIps
- Drupal 7 blocked IPs source from database.
Namespace
Drupal\ban\Plugin\migrate\source\d7Code
public function query() {
return $this
->select('blocked_ips', 'bi')
->fields('bi', [
'ip',
]);
}