public function IgnoreUpdates::execute in Automatic Updates 8
Handle database updates.
Return value
bool TRUE if database update was handled successfully, FALSE otherwise.
Overrides DatabaseUpdateHandlerInterface::execute
File
- src/
Plugin/ DatabaseUpdateHandler/ IgnoreUpdates.php, line 59
Class
- IgnoreUpdates
- Ignore database updates.
Namespace
Drupal\automatic_updates\Plugin\DatabaseUpdateHandlerCode
public function execute() {
$this->logger
->notice('Database updates ignored.');
// Ignore the updates and hope for the best.
return TRUE;
}