function ImageFieldDisplayTestCase::testImageFieldFormattersPrivate
Test image formatters on node display for private files.
File
-
modules/
image/ image.test, line 960
Class
- ImageFieldDisplayTestCase
- Test class to check that formatters and display settings are working.
Code
function testImageFieldFormattersPrivate() {
// Remove access content permission from anonymous users.
user_role_change_permissions(DRUPAL_ANONYMOUS_RID, array(
'access content' => FALSE,
));
$this->_testImageFieldFormatters('private');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.