public function PhantomJSCaptureInfoController::index in PhantomJS Capture 8
Return basic information about the phantomjs binary, if detected.
Return value
array
1 string reference to 'PhantomJSCaptureInfoController::index'
File
- src/
Controller/ PhantomJSCaptureInfoController.php, line 35
Class
Namespace
Drupal\phantomjs_capture\ControllerCode
public function index() {
$version = $this->captureHelper
->getVersion();
return [
'#markup' => $this
->t('PhantomJS binary detected, version is :version', [
':version' => $version,
]),
];
}