phantomjs_capture.module in PhantomJS Capture 8
Same filename and directory in other branches
File
phantomjs_capture.moduleView source
<?php
use Drupal\Core\Url;
/**
* Captures a screen shot using PhantomJS.
*
* @deprecated will be removed in a future stable release.
* Use \Drupal\phantomjs_capture\PhantomJSCaptureHelper::capture().
*/
function phantomjs_capture_screen(Url $url, $destination, $filename, $element = NULL) {
return \Drupal::service('phantomjs_capture.helper')
->capture($url, $destination, $filename, $element = NULL);
}
Functions
Name | Description |
---|---|
phantomjs_capture_screen Deprecated | Captures a screen shot using PhantomJS. |