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

Breadcrumb

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

function Upload::fields

Overrides MigrateSourceInterface::fields

File

core/modules/file/src/Plugin/migrate/source/d6/Upload.php, line 57

Class

Upload
Drupal 6 upload source from database.

Namespace

Drupal\file\Plugin\migrate\source\d6

Code

public function fields() {
    return [
        'fid' => $this->t('The file Id.'),
        'nid' => $this->t('The node Id.'),
        'vid' => $this->t('The version Id.'),
        'type' => $this->t('The node type'),
        'language' => $this->t('The node language.'),
        'description' => $this->t('The file description.'),
        'list' => $this->t('Whether the list should be visible on the node page.'),
        'weight' => $this->t('The file weight.'),
    ];
}

API Navigation

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