You are here

public function BlockedIps::fields 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::fields()

Returns available fields on the source.

Return value

array Available fields in the source, keys are the field machine names as used in field mappings, values are descriptions.

Overrides MigrateSourceInterface::fields

File

core/modules/ban/src/Plugin/migrate/source/d7/BlockedIps.php, line 32
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 fields() {
  return [
    'ip' => $this
      ->t('The blocked IP address.'),
  ];
}