You are here

public function BlockedIps::query in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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
Contains \Drupal\ban\Plugin\migrate\source\d7\BlockedIps.

Class

BlockedIps
Drupal 7 blocked IPs from database.

Namespace

Drupal\ban\Plugin\migrate\source\d7

Code

public function query() {
  return $this
    ->select('blocked_ips', 'bi')
    ->fields('bi', [
    'ip',
  ]);
}