function NodeTitleXSSTestCase::getInfo

File

modules/node/node.test, line 799

Class

NodeTitleXSSTestCase
Tests XSS functionality with a node entity.

Code

public static function getInfo() {
    return array(
        'name' => 'Node title XSS filtering',
        'description' => 'Create a node with dangerous tags in its title and test that they are escaped.',
        'group' => 'Node',
    );
}

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