public function AcsfThemeNotify::removeNotification in Acquia Cloud Site Factory Connector 8
Same name and namespace in other branches
- 8.2 src/AcsfThemeNotify.php \Drupal\acsf\AcsfThemeNotify::removeNotification()
Removes a pending notification from the database.
Parameters
object $notification: A notification object, in a format as returned by getNotifications().
1 call to AcsfThemeNotify::removeNotification()
- AcsfThemeNotify::processNotifications in src/
AcsfThemeNotify.php - Resends failed theme notifications.
File
- src/
AcsfThemeNotify.php, line 262
Class
- AcsfThemeNotify
- Manages theme notifications that need to be sent to the Factory.
Namespace
Drupal\acsfCode
public function removeNotification($notification) {
$this->database
->delete('acsf_theme_notifications')
->condition('id', $notification->id)
->execute();
}