public function AcsfDuplicationScrubUserHandler::handle in Acquia Cloud Site Factory Connector 8.2
Same name and namespace in other branches
- 8 src/Event/AcsfDuplicationScrubUserHandler.php \Drupal\acsf\Event\AcsfDuplicationScrubUserHandler::handle()
Implements AcsfEventHandler::handle().
Overrides AcsfDuplicationScrubEntityHandler::handle
File
- src/
Event/ AcsfDuplicationScrubUserHandler.php, line 24
Class
- AcsfDuplicationScrubUserHandler
- Handles the scrubbing of Drupal users.
Namespace
Drupal\acsf\EventCode
public function handle() {
$options = $this->event->context['scrub_options'];
if ($options['retain_users']) {
// We still want to log that we were here.
$this
->consoleLog(dt('Entered @class', [
'@class' => get_class($this),
]));
return;
}
parent::handle();
}