You are here

constant AutomaticUpdatesEvents::READINESS_CHECK in Automatic Updates 8.2

Name of the event fired when checking if the site could perform an update.

An update is not actually being started when this event is being fired. It should be used to notify site admins if the site is in a state which will not allow automatic updates to succeed.

This event should only be dispatched from ReadinessValidationManager to allow caching of the results.

See also

\Drupal\automatic_updates\Validation\ReadinessValidationManager

File

src/AutomaticUpdatesEvents.php, line 35

Class

AutomaticUpdatesEvents
Defines events for the automatic_updates module.

Namespace

Drupal\automatic_updates

Code

const READINESS_CHECK = 'automatic_updates.readiness_check';