function UserPictureInstance::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/ 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\sourceCode
public function fields() {
return [
'file_directory' => 'The directory to store images..',
'max_filesize' => 'The maximum allowed file size in KBs.',
'max_resolution' => "The maximum dimensions.",
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.