You are here

trait SlickUnitTestTrait in Slick Carousel 8

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

A Trait common for Slick Unit tests.

Hierarchy

5 files declare their use of SlickUnitTestTrait
SlickCrudTest.php in tests/src/Kernel/SlickCrudTest.php
SlickFileFormatterTest.php in tests/src/Kernel/SlickFileFormatterTest.php
SlickFormatterTest.php in tests/src/Kernel/SlickFormatterTest.php
SlickManagerTest.php in tests/src/Kernel/SlickManagerTest.php
SlickTextFormatterTest.php in tests/src/Kernel/SlickTextFormatterTest.php

File

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

Namespace

Drupal\Tests\slick\Traits
View source
trait SlickUnitTestTrait {

  /**
   * Defines scoped definition.
   */
  protected function getSlickFormatterDefinition() {
    return [
      'namespace' => 'slick',
    ] + $this
      ->getFormatterDefinition() + $this
      ->getDefaulEntityFormatterDefinition();
  }

}

Members