SanitizePluginInterface
interface SanitizePluginInterface (View source)
Implement this interface when building a Drush sql-sanitize plugin.
Methods
sanitize($result, CommandData $commandData)
Run your sanitization logic using standard Drupal APIs.
string[]
messages(array $messages, InputInterface $input)
Use #[CLI\Hook(type: HookManager::ON_EVENT, target: SanitizeCommands::CONFIRMS)]
Details
sanitize($result, CommandData $commandData)
Run your sanitization logic using standard Drupal APIs.
string[]
messages(array $messages, InputInterface $input)
Use #[CLI\Hook(type: HookManager::ON_EVENT, target: SanitizeCommands::CONFIRMS)]