protected function GridStackUnitTestTrait::getGridStackFormatterDefinition in GridStack 8.2
Same name and namespace in other branches
- 8 tests/src/Traits/GridStackUnitTestTrait.php \Drupal\Tests\gridstack\Traits\GridStackUnitTestTrait::getGridStackFormatterDefinition()
Defines scoped definition.
1 call to GridStackUnitTestTrait::getGridStackFormatterDefinition()
- GridStackFormatterTest::testAdminOptions in tests/
src/ Kernel/ GridStackFormatterTest.php - Tests for \Drupal\gridstack\Form\GridStackAdmin.
File
- tests/
src/ Traits/ GridStackUnitTestTrait.php, line 13
Class
- GridStackUnitTestTrait
- A Trait common for GridStack Unit tests.
Namespace
Drupal\Tests\gridstack\TraitsCode
protected function getGridStackFormatterDefinition() {
return [
'namespace' => 'gridstack',
] + $this
->getFormatterDefinition() + $this
->getDefaulEntityFormatterDefinition();
}