function phantomjs_capture_menu in PhantomJS Capture 7
Implements hook_menu().
File
- ./
phantomjs_capture.module, line 12 - Defines the administration interface and utility functions to use PhantomJS and test screen shot capture functions.
Code
function phantomjs_capture_menu() {
$items = array();
$items['admin/config/user-interface/phantomjs_capture'] = array(
'title' => 'PhantomJS Screen capture',
'description' => 'Screen capture with PhantomJS',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'phantomjs_capture_admin_form',
),
'access arguments' => array(
'administer site configuration',
),
);
return $items;
}