You are here

protected function GridStackUnitTestTrait::getGridStackFormatterDefinition in GridStack 8

Same name and namespace in other branches
  1. 8.2 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\Traits

Code

protected function getGridStackFormatterDefinition() {
  return [
    'namespace' => 'gridstack',
  ] + $this
    ->getFormatterDefinition() + $this
    ->getDefaulEntityFormatterDefinition();
}