You are here

function lazy_menu in Lazy-load 7

Implements hook_menu().

File

./lazy.module, line 11
Module file for Lazy-load.

Code

function lazy_menu() {
  return array(
    'admin/config/content/lazy' => array(
      'title' => 'Lazy-load',
      'description' => 'Configure how images and iframes are lazy-loaded.',
      'page callback' => 'drupal_get_form',
      'page arguments' => array(
        'lazy_configuration_form',
      ),
      'file' => 'lazy.admin.inc',
      'access arguments' => array(
        'administer filters',
      ),
    ),
  );
}