You are here

public function DisqusCommentsStatus::fields in Disqus 8

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

src/Plugin/migrate/source/DisqusCommentsStatus.php, line 21

Class

DisqusCommentsStatus
Disqus comments status.

Namespace

Drupal\disqus\Plugin\migrate\source

Code

public function fields() {
  return [
    'nid' => $this
      ->t('ID of Node this status belongs to'),
    'status' => $this
      ->t('Disqus comments status'),
    'identifier' => $this
      ->t('Disqus thread identifier'),
  ];
}