function BlockedIps::query
Same name in other branches
- 8.9.x 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()
- 11.x core/modules/ban/src/Plugin/migrate/source/d7/BlockedIps.php \Drupal\ban\Plugin\migrate\source\d7\BlockedIps::query()
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',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.