class AcsfThemeDuplicationScrubbingHandler in Acquia Cloud Site Factory Connector 8.2
Same name and namespace in other branches
- 8 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() {
$this
->consoleLog(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 | Writes a log message to the console. | |
AcsfEventHandler:: |
public | function | Constructor. | 1 |
AcsfThemeDuplicationScrubbingHandler:: |
public | function |
Implements AcsfEventHandler::handle(). Overrides AcsfEventHandler:: |