You are here

class TestPendingDbUpdates in Automatic Updates 8

Class TestPendingDbUpdates.

Hierarchy

Expanded class hierarchy of TestPendingDbUpdates

File

tests/src/Kernel/ReadinessChecker/PendingDbUpdatesTest.php, line 38

Namespace

Drupal\Tests\automatic_updates\Kernel\ReadinessChecker
View source
class TestPendingDbUpdates extends PendingDbUpdates {

  /**
   * {@inheritdoc}
   */
  public function __construct() {
  }

  /**
   * {@inheritdoc}
   */
  protected function areDbUpdatesPending() {
    return TRUE;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
PendingDbUpdates::$updateRegistry protected property The update registry.
PendingDbUpdates::run public function Run check. Overrides ReadinessCheckerInterface::run
StringTranslationTrait::$stringTranslation protected property The string translation service. 1
StringTranslationTrait::formatPlural protected function Formats a string containing a count of items.
StringTranslationTrait::getNumberOfPlurals protected function Returns the number of plurals supported by a given language.
StringTranslationTrait::getStringTranslation protected function Gets the string translation service.
StringTranslationTrait::setStringTranslation public function Sets the string translation service to use. 2
StringTranslationTrait::t protected function Translates a string to the current language or to a given language.
TestPendingDbUpdates::areDbUpdatesPending protected function Checks if there are pending database updates. Overrides PendingDbUpdates::areDbUpdatesPending
TestPendingDbUpdates::__construct public function PendingDbUpdates constructor. Overrides PendingDbUpdates::__construct