protected function EditorFileReferenceFilterTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/editor/src/Tests/EditorFileReferenceFilterTest.php \Drupal\editor\Tests\EditorFileReferenceFilterTest::setUp()
Performs setup tasks before each individual test method is run.
Overrides KernelTestBase::setUp
File
- core/
modules/ editor/ src/ Tests/ EditorFileReferenceFilterTest.php, line 36 - Contains \Drupal\editor\Tests\EditorFileReferenceFilterTest.
Class
- EditorFileReferenceFilterTest
- Tests Editor module's file reference filter.
Namespace
Drupal\editor\TestsCode
protected function setUp() {
parent::setUp();
$this
->installConfig(array(
'system',
));
$this
->installEntitySchema('file');
$this
->installSchema('file', array(
'file_usage',
));
$manager = $this->container
->get('plugin.manager.filter');
$bag = new FilterPluginCollection($manager, array());
$this->filters = $bag
->getAll();
}