You are here

public function FormModeManagerBase::setUpNodeFormMode in Form mode manager 8

Helper method to create Form mode onto Node entity needed for tests.

1 call to FormModeManagerBase::setUpNodeFormMode()
FormModeManagerBase::setUp in tests/src/Functional/FormModeManagerBase.php

File

tests/src/Functional/FormModeManagerBase.php, line 155

Class

FormModeManagerBase
Provides a test case for form_mode_manager functional tests.

Namespace

Drupal\Tests\form_mode_manager\Functional

Code

public function setUpNodeFormMode() {
  $this
    ->setUpFormMode("admin/structure/types/manage/{$this->nodeTypeFmm1->id()}/form-display", $this->nodeFormMode
    ->id());
}