class TestFormInjected
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php \Drupal\Tests\Core\Form\TestFormInjected
- 9 core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php \Drupal\Tests\Core\Form\TestFormInjected
- 8.9.x core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php \Drupal\Tests\Core\Form\TestFormInjected
Hierarchy
- class \Drupal\Tests\Core\Form\TestForm implements \Drupal\Core\Form\FormInterface
- class \Drupal\Tests\Core\Form\TestFormInjected implements \Drupal\Core\DependencyInjection\ContainerInjectionInterface extends \Drupal\Tests\Core\Form\TestForm
Expanded class hierarchy of TestFormInjected
File
-
core/
tests/ Drupal/ Tests/ Core/ Form/ FormBuilderTest.php, line 986
Namespace
Drupal\Tests\Core\FormView source
class TestFormInjected extends TestForm implements ContainerInjectionInterface {
public static function create(ContainerInterface $container) {
return new static();
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title | Overrides |
---|---|---|---|---|---|
TestForm::buildForm | public | function | Overrides FormInterface::buildForm | 1 | |
TestForm::getFormId | public | function | Overrides FormInterface::getFormId | ||
TestForm::submitForm | public | function | Overrides FormInterface::submitForm | ||
TestForm::validateForm | public | function | Overrides FormInterface::validateForm | ||
TestFormInjected::create | public static | function | Overrides ContainerInjectionInterface::create |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.