function UploadInstance::fields

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

Overrides MigrateSourceInterface::fields

File

core/modules/file/src/Plugin/migrate/source/d6/UploadInstance.php, line 77

Class

UploadInstance
Drupal 6 upload instance source from database.

Namespace

Drupal\file\Plugin\migrate\source\d6

Code

public function fields() {
    return [
        'node_type' => $this->t('Node type'),
        'max_filesize' => $this->t('Max filesize'),
        'file_extensions' => $this->t('File extensions'),
    ];
}

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