You are here

public function ReadinessCheckerManagerInterface::addChecker in Automatic Updates 8

Appends a checker to the checker chain.

Parameters

\Drupal\automatic_updates\ReadinessChecker\ReadinessCheckerInterface $checker: The checker interface to be appended to the checker chain.

string $category: (optional) The category of check.

int $priority: (optional) The priority of the checker being added.

Return value

$this

1 method overrides ReadinessCheckerManagerInterface::addChecker()
ReadinessCheckerManager::addChecker in src/ReadinessChecker/ReadinessCheckerManager.php
Appends a checker to the checker chain.

File

src/ReadinessChecker/ReadinessCheckerManagerInterface.php, line 37

Class

ReadinessCheckerManagerInterface
Readiness checker manager interface.

Namespace

Drupal\automatic_updates\ReadinessChecker

Code

public function addChecker(ReadinessCheckerInterface $checker, $category = 'warning', $priority = 0);