function NonAbstractFormStateDecoratorBase::__construct

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php \Drupal\Tests\Core\Form\NonAbstractFormStateDecoratorBase::__construct()
  2. 8.9.x core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php \Drupal\Tests\Core\Form\NonAbstractFormStateDecoratorBase::__construct()
  3. 10 core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php \Drupal\Tests\Core\Form\NonAbstractFormStateDecoratorBase::__construct()

Creates a new instance.

Parameters

\Drupal\Core\Form\FormStateInterface $decorated_form_state: The decorated form state.

File

core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php, line 1553

Class

NonAbstractFormStateDecoratorBase
Provides a non-abstract version of the class under test.

Namespace

Drupal\Tests\Core\Form

Code

public function __construct(FormStateInterface $decorated_form_state) {
    $this->decoratedFormState = $decorated_form_state;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.