public function AcsfThemeDuplicationScrubbingHandler::handle in Acquia Cloud Site Factory Connector 8.2
Same name and namespace in other branches
- 8 src/Event/AcsfThemeDuplicationScrubbingHandler.php \Drupal\acsf\Event\AcsfThemeDuplicationScrubbingHandler::handle()
Implements AcsfEventHandler::handle().
Overrides AcsfEventHandler::handle
File
- src/
Event/ AcsfThemeDuplicationScrubbingHandler.php, line 13
Class
- AcsfThemeDuplicationScrubbingHandler
- Truncates the pending theme notification table.
Namespace
Drupal\acsf\EventCode
public function handle() {
$this
->consoleLog(dt('Entered @class', [
'@class' => get_class($this),
]));
\Drupal::database()
->truncate('acsf_theme_notifications')
->execute();
}