protected function MigrationPluginManager::getEnforcedSourceModuleTags in Drupal 10
Same name and namespace in other branches
- 8 core/modules/migrate_drupal/src/MigrationPluginManager.php \Drupal\migrate_drupal\MigrationPluginManager::getEnforcedSourceModuleTags()
- 9 core/modules/migrate_drupal/src/MigrationPluginManager.php \Drupal\migrate_drupal\MigrationPluginManager::getEnforcedSourceModuleTags()
Returns the migration tags that trigger source_module enforcement.
Return value
string[]
1 call to MigrationPluginManager::getEnforcedSourceModuleTags()
- MigrationPluginManager::processDefinition in core/
modules/ migrate_drupal/ src/ MigrationPluginManager.php - Performs extra processing on plugin definitions.
File
- core/
modules/ migrate_drupal/ src/ MigrationPluginManager.php, line 74
Class
- MigrationPluginManager
- Manages migration plugins.
Namespace
Drupal\migrate_drupalCode
protected function getEnforcedSourceModuleTags() {
if ($this->enforcedSourceModuleTags === NULL) {
$this->enforcedSourceModuleTags = $this->configFactory
->get('migrate_drupal.settings')
->get('enforce_source_module_tags') ?: [];
}
return $this->enforcedSourceModuleTags;
}