function MigrateSource::getProvider
Same name in other branches
- 8.9.x core/modules/migrate/src/Annotation/MigrateSource.php \Drupal\migrate\Annotation\MigrateSource::getProvider()
- 10 core/modules/migrate/src/Annotation/MigrateSource.php \Drupal\migrate\Annotation\MigrateSource::getProvider()
- 11.x core/modules/migrate/src/Annotation/MigrateSource.php \Drupal\migrate\Annotation\MigrateSource::getProvider()
Overrides Plugin::getProvider
File
-
core/
modules/ migrate/ src/ Annotation/ MigrateSource.php, line 71
Class
- MigrateSource
- Defines a migration source plugin annotation object.
Namespace
Drupal\migrate\AnnotationCode
public function getProvider() {
if (isset($this->definition['provider'])) {
return is_array($this->definition['provider']) ? reset($this->definition['provider']) : $this->definition['provider'];
}
return FALSE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.