Skip to content
Snippets Groups Projects
Commit 096d5228 authored by Theresa Grannum's avatar Theresa Grannum Committed by Adam G-H
Browse files

Issue #3281405 by Theresa.Grannum: Add @internal to Automatic Updates validator classes

parent f101c6e2
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,10 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface; ...@@ -15,6 +15,10 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface;
/** /**
* Validates that cron runs frequently enough to perform automatic updates. * Validates that cron runs frequently enough to perform automatic updates.
*
* @internal
* This class is an internal part of the module's update handling and
* should not be used by external code.
*/ */
class CronFrequencyValidator implements EventSubscriberInterface { class CronFrequencyValidator implements EventSubscriberInterface {
......
...@@ -13,6 +13,10 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface; ...@@ -13,6 +13,10 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface;
/** /**
* Validates that the site can update from the installed version of Drupal. * Validates that the site can update from the installed version of Drupal.
*
* @internal
* This class is an internal part of the module's update handling and
* should not be used by external code.
*/ */
class InstalledVersionValidator implements EventSubscriberInterface { class InstalledVersionValidator implements EventSubscriberInterface {
......
...@@ -12,6 +12,10 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface; ...@@ -12,6 +12,10 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface;
* This class exists to facilitate re-use of Package Manager's stage validators * This class exists to facilitate re-use of Package Manager's stage validators
* during update readiness checks, in addition to whatever events they normally * during update readiness checks, in addition to whatever events they normally
* subscribe to. * subscribe to.
*
* @internal
* This class is an internal part of the module's update handling and
* should not be used by external code.
*/ */
class PackageManagerReadinessCheck implements EventSubscriberInterface { class PackageManagerReadinessCheck implements EventSubscriberInterface {
......
...@@ -11,6 +11,11 @@ use Drupal\package_manager\Event\PreCreateEvent; ...@@ -11,6 +11,11 @@ use Drupal\package_manager\Event\PreCreateEvent;
use Drupal\package_manager\Event\PreOperationStageEvent; use Drupal\package_manager\Event\PreOperationStageEvent;
use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\EventDispatcher\EventSubscriberInterface;
/**
* @internal
* This class is an internal part of the module's update handling and
* should not be used by external code.
*/
class SettingsValidator implements EventSubscriberInterface { class SettingsValidator implements EventSubscriberInterface {
use StringTranslationTrait; use StringTranslationTrait;
......
...@@ -14,6 +14,10 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface; ...@@ -14,6 +14,10 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface;
/** /**
* Validates that there are no database updates in a staged update. * Validates that there are no database updates in a staged update.
*
* @internal
* This class is an internal part of the module's update handling and
* should not be used by external code.
*/ */
class StagedDatabaseUpdateValidator implements EventSubscriberInterface { class StagedDatabaseUpdateValidator implements EventSubscriberInterface {
......
...@@ -11,6 +11,10 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface; ...@@ -11,6 +11,10 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface;
/** /**
* Validates the staged Drupal projects. * Validates the staged Drupal projects.
*
* @internal
* This class is an internal part of the module's update handling and
* should not be used by external code.
*/ */
final class StagedProjectsValidator implements EventSubscriberInterface { final class StagedProjectsValidator implements EventSubscriberInterface {
......
...@@ -10,6 +10,10 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface; ...@@ -10,6 +10,10 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface;
/** /**
* Validates that the target release of Drupal core is secure and supported. * Validates that the target release of Drupal core is secure and supported.
*
* @internal
* This class is an internal part of the module's update handling and
* should not be used by external code.
*/ */
class UpdateReleaseValidator implements EventSubscriberInterface { class UpdateReleaseValidator implements EventSubscriberInterface {
......
...@@ -8,6 +8,10 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface; ...@@ -8,6 +8,10 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface;
/** /**
* Flags a warning if Xdebug is enabled. * Flags a warning if Xdebug is enabled.
*
* @internal
* This class is an internal part of the module's update handling and
* should not be used by external code.
*/ */
class XdebugValidator implements EventSubscriberInterface { class XdebugValidator implements EventSubscriberInterface {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment