You are here

phantomjs_capture.module in PhantomJS Capture 8

Same filename and directory in other branches
  1. 7 phantomjs_capture.module

File

phantomjs_capture.module
View 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

Namesort descending Description
phantomjs_capture_screen Deprecated Captures a screen shot using PhantomJS.