You are here

class FormEntityViewDisplayEditAlterEventSubscriberTest in Hook Event Dispatcher 3.x

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

Class FormEntityViewDisplayEditAlterEventSubscriberTest.

@group field_event_dispatcher

Hierarchy

Expanded class hierarchy of FormEntityViewDisplayEditAlterEventSubscriberTest

File

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

Namespace

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

  /**
   * The form ID we're testing.
   *
   * @var string
   */
  protected $formId = 'entity_view_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.
FormEntityViewDisplayEditAlterEventSubscriberTest::$formId protected property The form ID we're testing.