Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. BlockedIps.php

function BlockedIps::getIds

Overrides MigrateSourceInterface::getIds

File

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

Class

BlockedIps
Drupal 7 blocked IPs source from database.

Namespace

Drupal\ban\Plugin\migrate\source\d7

Code

public function getIds() {
    return [
        'ip' => [
            'type' => 'string',
        ],
    ];
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal