You are here

public function FormModeManagerBase::setUpUserFormMode in Form mode manager 8

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

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

File

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

Class

FormModeManagerBase
Provides a test case for form_mode_manager functional tests.

Namespace

Drupal\Tests\form_mode_manager\Functional

Code

public function setUpUserFormMode() {
  $this
    ->setUpFormMode("admin/config/people/accounts/form-display", $this->userFormMode
    ->id());
}