public static function NodeTitleXSSTest::getInfo

File

drupal/core/modules/node/lib/Drupal/node/Tests/NodeTitleXSSTest.php, line 14
Definition of Drupal\node\Tests\NodeTitleXSSTest.

Class

NodeTitleXSSTest
Tests XSS functionality with a node entity.

Namespace

Drupal\node\Tests

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',
  );
}