function MultipleProviderAnnotationInterface::setProviders

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

Sets the provider names of the annotated class.

Parameters

string[] $providers: The providers of the annotation.

1 method overrides MultipleProviderAnnotationInterface::setProviders()
MigrateSource::setProviders in core/modules/migrate/src/Annotation/MigrateSource.php
Sets the provider names of the annotated class.

File

core/modules/migrate/src/Annotation/MultipleProviderAnnotationInterface.php, line 39

Class

MultipleProviderAnnotationInterface
Defines a common interface for classed annotations with multiple providers.

Namespace

Drupal\migrate\Annotation

Code

public function setProviders(array $providers);

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