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

Breadcrumb

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

function EmptySource::fields

Overrides MigrateSourceInterface::fields

File

core/modules/migrate/src/Plugin/migrate/source/EmptySource.php, line 35

Class

EmptySource
Source returning a row based on the constants provided.

Namespace

Drupal\migrate\Plugin\migrate\source

Code

public function fields() {
    return [
        'id' => $this->t('ID'),
    ];
}

API Navigation

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