function AttributeDiscoveryWithAnnotationsAutomatedProviders::prepareAttributeDefinition
File
-
core/
modules/ migrate/ src/ Plugin/ Discovery/ AttributeDiscoveryWithAnnotationsAutomatedProviders.php, line 50
Class
- AttributeDiscoveryWithAnnotationsAutomatedProviders
- Enables both attribute and annotation discovery for plugin definitions.
Namespace
Drupal\migrate\Plugin\DiscoveryCode
protected function prepareAttributeDefinition(AttributeInterface $attribute, string $class) : void {
$this->attributeDiscovery
->prepareAttributeDefinition($attribute, $class);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.