l('http://mozilla.github.io/pdf.js', 'http://mozilla.github.io/pdf.js/getting_started/#download'), '!more-info' => l(t('more information'), 'https://www.drupal.org/project/pdf'), ) ); $severity = REQUIREMENT_ERROR; } // Declare requirement to Drupal. $requirements[] = array( 'title' => t('PDF.js'), 'value' => $value, 'description' => $description, 'severity' => $severity, ); break; } return $requirements; }