function MigrateSource::setProviders

Same name in other branches
  1. 9 core/modules/migrate/src/Annotation/MigrateSource.php \Drupal\migrate\Annotation\MigrateSource::setProviders()
  2. 8.9.x core/modules/migrate/src/Annotation/MigrateSource.php \Drupal\migrate\Annotation\MigrateSource::setProviders()
  3. 10 core/modules/migrate/src/Annotation/MigrateSource.php \Drupal\migrate\Annotation\MigrateSource::setProviders()

Overrides MultipleProviderAnnotationInterface::setProviders

File

core/modules/migrate/src/Annotation/MigrateSource.php, line 94

Class

MigrateSource
Defines a migration source plugin annotation object.

Namespace

Drupal\migrate\Annotation

Code

public function setProviders(array $providers) {
    $this->definition['provider'] = $providers;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.