public function AcsfThemeDuplicationScrubbingHandler::handle in Acquia Cloud Site Factory Connector 8
Same name and namespace in other branches
- 8.2 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() {
drush_print(dt('Entered @class', [
'@class' => get_class($this),
]));
\Drupal::database()
->truncate('acsf_theme_notifications')
->execute();
}