GridStackUnitTestTrait.php in GridStack 8.2
Same filename and directory in other branches
Namespace
Drupal\Tests\gridstack\TraitsFile
tests/src/Traits/GridStackUnitTestTrait.phpView source
<?php
namespace Drupal\Tests\gridstack\Traits;
/**
* A Trait common for GridStack Unit tests.
*/
trait GridStackUnitTestTrait {
/**
* Defines scoped definition.
*/
protected function getGridStackFormatterDefinition() {
return [
'namespace' => 'gridstack',
] + $this
->getFormatterDefinition() + $this
->getDefaulEntityFormatterDefinition();
}
}
Traits
Name | Description |
---|---|
GridStackUnitTestTrait | A Trait common for GridStack Unit tests. |