class AcsfThemeDuplicationScrubbingHandler in Acquia Cloud Site Factory Connector 8
Same name and namespace in other branches
- 8.2 src/Event/AcsfThemeDuplicationScrubbingHandler.php \Drupal\acsf\Event\AcsfThemeDuplicationScrubbingHandler
Truncates the pending theme notification table.
Hierarchy
- class \Drupal\acsf\Event\AcsfEventHandler
- class \Drupal\acsf\Event\AcsfThemeDuplicationScrubbingHandler
Expanded class hierarchy of AcsfThemeDuplicationScrubbingHandler
File
- src/
Event/ AcsfThemeDuplicationScrubbingHandler.php, line 8
Namespace
Drupal\acsf\EventView source
class AcsfThemeDuplicationScrubbingHandler extends AcsfEventHandler {
/**
* Implements AcsfEventHandler::handle().
*/
public function handle() {
drush_print(dt('Entered @class', [
'@class' => get_class($this),
]));
\Drupal::database()
->truncate('acsf_theme_notifications')
->execute();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AcsfEventHandler:: |
public | property | The time that the handler was completed. | |
AcsfEventHandler:: |
public | property | Any messages triggered by the handler. | |
AcsfEventHandler:: |
public | property | The time that the handler was started. | |
AcsfEventHandler:: |
public | function | Constructor. | 1 |
AcsfThemeDuplicationScrubbingHandler:: |
public | function |
Implements AcsfEventHandler::handle(). Overrides AcsfEventHandler:: |