public function MigrateSource::setProviders in Drupal 10
Same name and namespace in other branches
- 8 core/modules/migrate/src/Annotation/MigrateSource.php \Drupal\migrate\Annotation\MigrateSource::setProviders()
- 9 core/modules/migrate/src/Annotation/MigrateSource.php \Drupal\migrate\Annotation\MigrateSource::setProviders()
Sets the provider names of the annotated class.
Parameters
string[] $providers: The providers of the annotation.
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\AnnotationCode
public function setProviders(array $providers) {
$this->definition['provider'] = $providers;
}