function UserPictureInstance::fields

Same name in other branches
  1. 8.9.x core/modules/user/src/Plugin/migrate/source/UserPictureInstance.php \Drupal\user\Plugin\migrate\source\UserPictureInstance::fields()
  2. 10 core/modules/user/src/Plugin/migrate/source/UserPictureInstance.php \Drupal\user\Plugin\migrate\source\UserPictureInstance::fields()
  3. 11.x core/modules/user/src/Plugin/migrate/source/UserPictureInstance.php \Drupal\user\Plugin\migrate\source\UserPictureInstance::fields()

Overrides MigrateSourceInterface::fields

File

core/modules/user/src/Plugin/migrate/source/UserPictureInstance.php, line 44

Class

UserPictureInstance
Drupal 6/7 user picture field instance source from database.

Namespace

Drupal\user\Plugin\migrate\source

Code

public function fields() {
    return [
        'file_directory' => 'The directory to store images..',
        'max_filesize' => 'The maximum allowed file size in KBs.',
        'max_resolution' => "The maximum resolution.",
    ];
}

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