You are here

abstract protected function FormatterTestBase::fieldFormatterDataProvider in Range 8

Specific formatter settings data provider.

Return value

array Nested arrays of values to check:

  • $settings
  • $from
  • $to
  • $expected_from
  • $expected_to
1 call to FormatterTestBase::fieldFormatterDataProvider()
FormatterTestBase::formatterDataProvider in tests/src/Kernel/Formatter/FormatterTestBase.php
Formatter settings data provider.
5 methods override FormatterTestBase::fieldFormatterDataProvider()
DecimalFormatterTest::fieldFormatterDataProvider in tests/src/Kernel/Formatter/DecimalFormatterTest.php
Specific formatter settings data provider.
DecimalSprintfFormatterTest::fieldFormatterDataProvider in tests/src/Kernel/Formatter/DecimalSprintfFormatterTest.php
Specific formatter settings data provider.
IntegerFormatterTest::fieldFormatterDataProvider in tests/src/Kernel/Formatter/IntegerFormatterTest.php
Specific formatter settings data provider.
IntegerSprintfFormatterTest::fieldFormatterDataProvider in tests/src/Kernel/Formatter/IntegerSprintfFormatterTest.php
Specific formatter settings data provider.
UnformattedlFormatterTest::fieldFormatterDataProvider in tests/src/Kernel/Formatter/UnformattedlFormatterTest.php
Specific formatter settings data provider.

File

tests/src/Kernel/Formatter/FormatterTestBase.php, line 384

Class

FormatterTestBase
Base class for range functional integration tests.

Namespace

Drupal\Tests\range\Kernel\Formatter

Code

protected abstract function fieldFormatterDataProvider();