function 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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.