public function ExportablesTest::dsExportablesSetup in Display Suite 8.4
Same name and namespace in other branches
- 8.3 tests/src/Functional/ExportablesTest.php \Drupal\Tests\ds\Functional\ExportablesTest::dsExportablesSetup()
Enables the exportables module.
1 call to ExportablesTest::dsExportablesSetup()
- ExportablesTest::testDsExportablesLayoutFieldsettings in tests/
src/ Functional/ ExportablesTest.php - Test layout and field settings configuration.
File
- tests/
src/ Functional/ ExportablesTest.php, line 17
Class
- ExportablesTest
- Tests for exportables in Display Suite.
Namespace
Drupal\Tests\ds\FunctionalCode
public function dsExportablesSetup() {
/* @var $display EntityViewDisplay */
$display = EntityViewDisplay::load('node.article.default');
$display
->delete();
\Drupal::service('module_installer')
->install([
'ds_exportables_test',
]);
}