You are here

public function MultipleProviderAnnotationInterface::setProviders in Drupal 8

Same name and namespace in other branches
  1. 9 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);