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

Breadcrumb

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

function 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'),
    ];
}

API Navigation

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