You are here

protected function SlickUnitTestTrait::getSlickFormatterDefinition in Slick Carousel 8

Same name and namespace in other branches
  1. 8.2 tests/src/Traits/SlickUnitTestTrait.php \Drupal\Tests\slick\Traits\SlickUnitTestTrait::getSlickFormatterDefinition()

Defines scoped definition.

1 call to SlickUnitTestTrait::getSlickFormatterDefinition()
SlickFormatterTest::testAdminOptions in tests/src/Kernel/SlickFormatterTest.php
Tests for \Drupal\slick\Form\SlickAdmin.

File

tests/src/Traits/SlickUnitTestTrait.php, line 13

Class

SlickUnitTestTrait
A Trait common for Slick Unit tests.

Namespace

Drupal\Tests\slick\Traits

Code

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