You are here

GridStackUnitTestTrait.php in GridStack 8.2

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

File

tests/src/Traits/GridStackUnitTestTrait.php
View 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

Namesort descending Description
GridStackUnitTestTrait A Trait common for GridStack Unit tests.