Skip to content
Snippets Groups Projects

Issue #3489546 - Remove const

1 file
+ 1
4
Compare changes
  • Side-by-side
  • Inline
+ 1
4
@@ -7,8 +7,6 @@
use Drupal\Core\Url;
define('GETID3_RECOMMENDED_VERSION', '1.9.21');
/**
* Implements hook_help().
*/
@@ -16,11 +14,10 @@ function getid3_help($route_name) {
switch ($route_name) {
case 'help.page.getid3':
$output = '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t("To use this module you'll need to <a href='@download-link'>download the library</a> from the <a href='@info-link'>getID3 website</a> and extract the contents into the module's getid3 directory. Currently, the recommended version of the getID3 library is %recommended-version.",
$output .= '<p>' . t("To use this module you'll need to <a href='@download-link'>download the library</a> from the <a href='@info-link'>getID3 website</a> and extract the contents into the module's getid3 directory. Currently, the recommended version of the getID3 library is 1.9.23.",
[
'@download-link' => Url::fromUri('http://prdownloads.sourceforge.net/getid3')->toString(),
'@info-link' => Url::fromUri('https://www.getid3.org/')->toString(),
'%recommended-version' => GETID3_RECOMMENDED_VERSION,
]) . '</p>';
return $output;
}
Loading