function MultipleProviderAttributeInterface::setProviders
Sets the provider names of the attribute class.
Parameters
string[] $providers: The providers of the attribute.
1 method overrides MultipleProviderAttributeInterface::setProviders()
- MigrateSource::setProviders in core/
modules/ migrate/ src/ Attribute/ MigrateSource.php - Sets the provider names of the attribute class.
File
-
core/
modules/ migrate/ src/ Attribute/ MultipleProviderAttributeInterface.php, line 42
Class
- MultipleProviderAttributeInterface
- Defines a common interface for attributes with multiple providers.
Namespace
Drupal\migrate\AttributeCode
public function setProviders(array $providers) : void;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.