You are here

SlickUnitTestTrait.php in Slick Carousel 8.2

Same filename and directory in other branches
  1. 8 tests/src/Traits/SlickUnitTestTrait.php

File

tests/src/Traits/SlickUnitTestTrait.php
View source
<?php

namespace Drupal\Tests\slick\Traits;


/**
 * A Trait common for Slick Unit tests.
 */
trait SlickUnitTestTrait {

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

}

Traits

Namesort descending Description
SlickUnitTestTrait A Trait common for Slick Unit tests.