public function FilterFormTest::testFilterForm in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/filter/src/Tests/FilterFormTest.php \Drupal\filter\Tests\FilterFormTest::testFilterForm()
Tests various different configurations of the 'text_format' element.
File
- core/
modules/ filter/ src/ Tests/ FilterFormTest.php, line 71 - Contains \Drupal\filter\Tests\FilterFormTest.
Class
- FilterFormTest
- Tests form elements with associated text formats.
Namespace
Drupal\filter\TestsCode
public function testFilterForm() {
$this
->doFilterFormTestAsAdmin();
$this
->doFilterFormTestAsNonAdmin();
// Ensure that enabling modules which provide filter plugins behaves
// correctly.
// @see https://www.drupal.org/node/2387983
\Drupal::service('module_installer')
->install([
'filter_test_plugin',
]);
// Force rebuild module data.
_system_rebuild_module_data();
}