You are here

AcsfThemeDuplicationScrubbingHandler.php in Acquia Cloud Site Factory Connector 8

Same filename and directory in other branches
  1. 8.2 src/Event/AcsfThemeDuplicationScrubbingHandler.php

Namespace

Drupal\acsf\Event

File

src/Event/AcsfThemeDuplicationScrubbingHandler.php
View source
<?php

namespace Drupal\acsf\Event;


/**
 * Truncates the pending theme notification table.
 */
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();
  }

}

Classes

Namesort descending Description
AcsfThemeDuplicationScrubbingHandler Truncates the pending theme notification table.