ContactFormXmlAnonTest.php
Same filename and directory in other branches
- 11.x core/modules/contact/tests/src/Functional/Rest/ContactFormXmlAnonTest.php
- 10 core/modules/contact/tests/src/Functional/Rest/ContactFormXmlAnonTest.php
- 9 core/modules/contact/tests/src/Functional/Rest/ContactFormXmlAnonTest.php
- 8.9.x core/modules/contact/tests/src/Functional/Rest/ContactFormXmlAnonTest.php
Namespace
Drupal\Tests\contact\Functional\RestFile
-
core/
modules/ contact/ tests/ src/ Functional/ Rest/ ContactFormXmlAnonTest.php
View source
<?php
declare (strict_types=1);
namespace Drupal\Tests\contact\Functional\Rest;
use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
use Drupal\Tests\rest\Functional\EntityResource\XmlEntityNormalizationQuirksTrait;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\Attributes\IgnoreDeprecations;
use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses;
/**
* Tests Contact Form Xml Anon.
*/
class ContactFormXmlAnonTest extends ContactFormResourceTestBase {
use AnonResourceTestTrait;
use XmlEntityNormalizationQuirksTrait;
/**
* {@inheritdoc}
*/
protected static $format = 'xml';
/**
* {@inheritdoc}
*/
protected static $mimeType = 'text/xml; charset=utf-8';
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'stark';
}
Classes
| Title | Deprecated | Summary |
|---|---|---|
| ContactFormXmlAnonTest | Tests Contact Form Xml Anon. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.