You are here

class TestFormInjected in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php \Drupal\Tests\Core\Form\TestFormInjected

Hierarchy

Expanded class hierarchy of TestFormInjected

File

core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php, line 890
Contains \Drupal\Tests\Core\Form\FormBuilderTest.

Namespace

Drupal\Tests\Core\Form
View source
class TestFormInjected extends TestForm implements ContainerInjectionInterface {
  public static function create(ContainerInterface $container) {
    return new static();
  }

}

Members

Namesort descending Modifiers Type Description Overrides
TestForm::buildForm public function Form constructor. Overrides FormInterface::buildForm 1
TestForm::getFormId public function Returns a unique string identifying the form. Overrides FormInterface::getFormId
TestForm::submitForm public function Form submission handler. Overrides FormInterface::submitForm
TestForm::validateForm public function Form validation handler. Overrides FormInterface::validateForm
TestFormInjected::create public static function Instantiates a new instance of this class. Overrides ContainerInjectionInterface::create