You are here

abstract protected function AbstractFieldSettingsSummaryAlterEventTestCase::getTestContext in Hook Event Dispatcher 8.2

Same name and namespace in other branches
  1. 3.x modules/field_event_dispatcher/tests/src/Unit/Field/AbstractFieldSettingsSummaryAlterEventTestCase.php \Drupal\Tests\field_event_dispatcher\Unit\Field\AbstractFieldSettingsSummaryAlterEventTestCase::getTestContext()

Get the test context array.

Parameters

\Drupal\Core\Field\BaseFieldDefinition $fieldDefinition: The field defition used in the test.

Return value

array The test context array.

1 call to AbstractFieldSettingsSummaryAlterEventTestCase::getTestContext()
AbstractFieldSettingsSummaryAlterEventTestCase::testContext in modules/field_event_dispatcher/tests/src/Unit/Field/AbstractFieldSettingsSummaryAlterEventTestCase.php
AbstractFieldSettingsSummaryAlterEventTestCase context test.
2 methods override AbstractFieldSettingsSummaryAlterEventTestCase::getTestContext()
FieldFormatterSettingsSummaryAlterEventTest::getTestContext in modules/field_event_dispatcher/tests/src/Unit/Field/FieldFormatterSettingsSummaryAlterEventTest.php
Get the test context array.
FieldWidgetSettingsSummaryAlterEventTest::getTestContext in modules/field_event_dispatcher/tests/src/Unit/Field/FieldWidgetSettingsSummaryAlterEventTest.php
Get the test context array.

File

modules/field_event_dispatcher/tests/src/Unit/Field/AbstractFieldSettingsSummaryAlterEventTestCase.php, line 62

Class

AbstractFieldSettingsSummaryAlterEventTestCase
Class AbstractFieldSettingsSummaryAlterEventTestCase.

Namespace

Drupal\Tests\field_event_dispatcher\Unit\Field

Code

protected abstract function getTestContext(BaseFieldDefinition $fieldDefinition) : array;