MigratePrepareRowModuleHandler
class MigratePrepareRowModuleHandler implements ModuleHandlerInterface (View source)
Decorates the module handler to dispatch a Drush event on each source row.
Injected into the migration's source plugin for the duration of the Drush
process. Replaces the former compile-time hook registration
(MigrateRunnerServiceProvider), which broke once Drupal 11.3 started
persisting hook lists in shared keyvalue storage: containers built by web
requests disagreed with containers built by Drush, causing either an
ArgumentCountError on web requests or silent data loss with
migrate:import --delete.
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Required by Drupal < 11, where the interface extends DestructableInterface.
Details
__construct(ModuleHandlerInterface $decorated, EventDispatcherInterface $eventDispatcher)
No description
invokeAll($hook, array $args = [])
No description
load($name)
No description
loadAll()
No description
isLoaded()
No description
reload()
No description
getModuleList()
No description
getModule($name)
No description
setModuleList(array $module_list = [])
No description
addModule($name, $path)
No description
addProfile($name, $path)
No description
buildModuleDependencies(array $modules)
No description
moduleExists($module)
No description
loadAllIncludes($type, $name = null)
No description
loadInclude($module, $type, $name = null)
No description
getHookInfo()
No description
writeCache()
No description
resetImplementations()
No description
bool
hasImplementations(string $hook, $modules = null)
No description
void
invokeAllWith(string $hook, callable $callback)
No description
invoke($module, $hook, array $args = [])
No description
invokeDeprecated($description, $module, $hook, array $args = [])
No description
invokeAllDeprecated($description, $hook, array $args = [])
No description
alter($type, $data, $context1 = null, $context2 = null)
No description
alterDeprecated($description, $type, $data, $context1 = null, $context2 = null)
No description
getModuleDirectories()
No description
getName($module)
No description
destruct()
Required by Drupal < 11, where the interface extends DestructableInterface.