You are here

public function AcquiaSearchIndex::fields in Acquia Search 3.x

Same name in this branch
  1. 3.x src/Plugin/migrate/source/AcquiaSearchIndex.php \Drupal\acquia_Search\Plugin\migrate\source\AcquiaSearchIndex::fields()
  2. 3.x src/Plugin/migrate/destination/AcquiaSearchIndex.php \Drupal\acquia_search\Plugin\migrate\destination\AcquiaSearchIndex::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/AcquiaSearchIndex.php, line 27

Class

AcquiaSearchIndex
Drupal 7 acquia search index source from database.

Namespace

Drupal\acquia_Search\Plugin\migrate\source

Code

public function fields() {
  return [
    'env_id' => $this
      ->t('The name of the environment'),
    'entity_type' => $this
      ->t('The type of entity.'),
    'bundle' => $this
      ->t('The bundle to index.'),
  ];
}