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

Breadcrumb

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

function UserData::fields

Overrides MigrateDestinationInterface::fields

File

core/modules/user/src/Plugin/migrate/destination/UserData.php, line 81

Class

UserData
Migration destination for user data.

Namespace

Drupal\user\Plugin\migrate\destination

Code

public function fields() {
    return [
        'uid' => 'The user id.',
        'module' => 'The module name responsible for the settings.',
        'key' => 'The setting key to save under.',
        'settings' => 'The settings to save.',
    ];
}

API Navigation

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