You are here

protected static function AutomaticUpdatesPsa::message in Automatic Updates 7

Return a message.

Parameters

string $title: The title.

string $link: The link.

Return value

string The PSA or SA message.

2 calls to AutomaticUpdatesPsa::message()
AutomaticUpdatesPsa::getPublicServiceMessages in ./AutomaticUpdatesPsa.php
AutomaticUpdatesPsa::parseConstraints in ./AutomaticUpdatesPsa.php
Compare versions and add a message, if appropriate.

File

./AutomaticUpdatesPsa.php, line 152
Contains AutomaticUpdatesPsa class.

Class

AutomaticUpdatesPsa
Class AutomaticUpdatesPsa.

Code

protected static function message($title, $link) {
  return format_string('<a href="@url">@message</a>', [
    '@message' => $title,
    '@url' => $link,
  ]);
}