class TestFormInjected in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php \Drupal\Tests\Core\Form\TestFormInjected
Hierarchy
- class \Drupal\Tests\Core\Form\TestForm implements FormInterface
- class \Drupal\Tests\Core\Form\TestFormInjected implements ContainerInjectionInterface
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\FormView source
class TestFormInjected extends TestForm implements ContainerInjectionInterface {
public static function create(ContainerInterface $container) {
return new static();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TestForm:: |
public | function |
Form constructor. Overrides FormInterface:: |
1 |
TestForm:: |
public | function |
Returns a unique string identifying the form. Overrides FormInterface:: |
|
TestForm:: |
public | function |
Form submission handler. Overrides FormInterface:: |
|
TestForm:: |
public | function |
Form validation handler. Overrides FormInterface:: |
|
TestFormInjected:: |
public static | function |
Instantiates a new instance of this class. Overrides ContainerInjectionInterface:: |