function image_test_image_toolkits

Implements hook_image_toolkits().

File

modules/simpletest/tests/image_test.module, line 11

Code

function image_test_image_toolkits() {
    return array(
        'test' => array(
            'title' => t('A dummy toolkit that works'),
            'available' => TRUE,
        ),
        'broken' => array(
            'title' => t('A dummy toolkit that is "broken"'),
            'available' => FALSE,
        ),
    );
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.