function BlockedIps::fields

Same name in other branches
  1. 9 core/modules/ban/src/Plugin/migrate/source/d7/BlockedIps.php \Drupal\ban\Plugin\migrate\source\d7\BlockedIps::fields()
  2. 8.9.x core/modules/ban/src/Plugin/migrate/source/d7/BlockedIps.php \Drupal\ban\Plugin\migrate\source\d7\BlockedIps::fields()
  3. 10 core/modules/ban/src/Plugin/migrate/source/d7/BlockedIps.php \Drupal\ban\Plugin\migrate\source\d7\BlockedIps::fields()

Overrides MigrateSourceInterface::fields

File

core/modules/ban/src/Plugin/migrate/source/d7/BlockedIps.php, line 32

Class

BlockedIps
Drupal 7 blocked IPs source from database.

Namespace

Drupal\ban\Plugin\migrate\source\d7

Code

public function fields() {
    return [
        'ip' => $this->t('The blocked IP address.'),
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.