You are here

class FormEntityFormDisplayEditAlterEventSubscriberTest in Hook Event Dispatcher 3.x

Same name and namespace in other branches
  1. 8.2 modules/field_event_dispatcher/tests/src/Unit/Field/FormEntityFormDisplayEditAlterEventSubscriberTest.php \Drupal\Tests\field_event_dispatcher\Unit\Field\FormEntityFormDisplayEditAlterEventSubscriberTest

Class FormEntityFormDisplayEditAlterEventSubscriberTest.

@group field_event_dispatcher

Hierarchy

Expanded class hierarchy of FormEntityFormDisplayEditAlterEventSubscriberTest

File

modules/field_event_dispatcher/tests/src/Unit/Field/FormEntityFormDisplayEditAlterEventSubscriberTest.php, line 10

Namespace

Drupal\Tests\field_event_dispatcher\Unit\Field
View source
class FormEntityFormDisplayEditAlterEventSubscriberTest extends AbstractFormEntityDisplayEditAlterEventSubscriberTestCase {

  /**
   * The form ID we're testing.
   *
   * @var string
   */
  protected $formId = 'entity_form_display_edit_form';

}

Members

Namesort descending Modifiers Type Description Overrides
AbstractFormEntityDisplayEditAlterEventSubscriberTestCase::$manager private property The manager.
AbstractFormEntityDisplayEditAlterEventSubscriberTestCase::alterForm private function Alter both $form and $expectedForm for a test.
AbstractFormEntityDisplayEditAlterEventSubscriberTestCase::getTestForm private function Get a basic test form.
AbstractFormEntityDisplayEditAlterEventSubscriberTestCase::setUp public function Sets up the test.
AbstractFormEntityDisplayEditAlterEventSubscriberTestCase::testFormAlterMultipleMerges public function FormEntityDisplayEditAlterEventSubscriber test with multiple merges.
AbstractFormEntityDisplayEditAlterEventSubscriberTestCase::testFormAlterNoFields public function FormEntityDisplayEditAlterEventSubscriber test with no fields.
AbstractFormEntityDisplayEditAlterEventSubscriberTestCase::testFormAlterOneField public function FormEntityDisplayEditAlterEventSubscriber test with one field.
AbstractFormEntityDisplayEditAlterEventSubscriberTestCase::testFormAlterTwoFields public function FormEntityDisplayEditAlterEventSubscriber test with two fields.
FormEntityFormDisplayEditAlterEventSubscriberTest::$formId protected property The form ID we're testing.