GenericTest.php
Namespace
Drupal\Tests\filter\FunctionalFile
-
core/
modules/ filter/ tests/ src/ Functional/ GenericTest.php
View source
<?php
declare (strict_types=1);
namespace Drupal\Tests\filter\Functional;
use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
/**
* Generic module test for filter.
*
* @group filter
*/
class GenericTest extends GenericModuleTestBase {
/**
* {@inheritdoc}
*/
protected function preUninstallSteps() : void {
$storage = \Drupal::entityTypeManager()->getStorage('filter_format');
$text_formats = $storage->loadMultiple();
$storage->delete($text_formats);
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
GenericTest | Generic module test for filter. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.