class TestPendingDbUpdates in Automatic Updates 8
Class TestPendingDbUpdates.
Hierarchy
- class \Drupal\automatic_updates\ReadinessChecker\PendingDbUpdates implements ReadinessCheckerInterface uses StringTranslationTrait
- class \Drupal\Tests\automatic_updates\Kernel\ReadinessChecker\TestPendingDbUpdates
Expanded class hierarchy of TestPendingDbUpdates
File
- tests/
src/ Kernel/ ReadinessChecker/ PendingDbUpdatesTest.php, line 38
Namespace
Drupal\Tests\automatic_updates\Kernel\ReadinessCheckerView source
class TestPendingDbUpdates extends PendingDbUpdates {
/**
* {@inheritdoc}
*/
public function __construct() {
}
/**
* {@inheritdoc}
*/
protected function areDbUpdatesPending() {
return TRUE;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PendingDbUpdates:: |
protected | property | The update registry. | |
PendingDbUpdates:: |
public | function |
Run check. Overrides ReadinessCheckerInterface:: |
|
StringTranslationTrait:: |
protected | property | The string translation service. | 1 |
StringTranslationTrait:: |
protected | function | Formats a string containing a count of items. | |
StringTranslationTrait:: |
protected | function | Returns the number of plurals supported by a given language. | |
StringTranslationTrait:: |
protected | function | Gets the string translation service. | |
StringTranslationTrait:: |
public | function | Sets the string translation service to use. | 2 |
StringTranslationTrait:: |
protected | function | Translates a string to the current language or to a given language. | |
TestPendingDbUpdates:: |
protected | function |
Checks if there are pending database updates. Overrides PendingDbUpdates:: |
|
TestPendingDbUpdates:: |
public | function |
PendingDbUpdates constructor. Overrides PendingDbUpdates:: |