You are here

public function PrivateContentSettings::fields in Private 8

Same name in this branch
  1. 8 src/Plugin/migrate/source/d6/PrivateContentSettings.php \Drupal\private_content\Plugin\migrate\source\d6\PrivateContentSettings::fields()
  2. 8 src/Plugin/migrate/destination/d6/PrivateContentSettings.php \Drupal\private_content\Plugin\migrate\destination\d6\PrivateContentSettings::fields()
Same name and namespace in other branches
  1. 8.2 src/Plugin/migrate/source/d6/PrivateContentSettings.php \Drupal\private_content\Plugin\migrate\source\d6\PrivateContentSettings::fields()

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/d6/PrivateContentSettings.php, line 41

Class

PrivateContentSettings
Migrates private content type settings.

Namespace

Drupal\private_content\Plugin\migrate\source\d6

Code

public function fields() {
  return array(
    'id' => $this
      ->t('Private content type.'),
  );
}