class BasicFormNoContainerInjectionInterface
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php \Drupal\Tests\Core\Entity\BasicFormNoContainerInjectionInterface
- 8.9.x core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php \Drupal\Tests\Core\Entity\BasicFormNoContainerInjectionInterface
- 10 core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php \Drupal\Tests\Core\Entity\BasicFormNoContainerInjectionInterface
Hierarchy
- class \Drupal\Tests\Core\Entity\BasicFormNoContainerInjectionInterface implements \Drupal\Core\Form\FormInterface
Expanded class hierarchy of BasicFormNoContainerInjectionInterface
File
-
core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityResolverManagerTest.php, line 562
Namespace
Drupal\Tests\Core\EntityView source
class BasicFormNoContainerInjectionInterface implements FormInterface {
/**
* {@inheritdoc}
*/
public function getFormId() {
return '';
}
/**
* {@inheritdoc}
*/
public function buildForm(array $form, FormStateInterface $form_state, ?EntityInterface $entity_test = NULL) {
return [];
}
/**
* {@inheritdoc}
*/
public function validateForm(array &$form, FormStateInterface $form_state) {
}
/**
* {@inheritdoc}
*/
public function submitForm(array &$form, FormStateInterface $form_state) {
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
BasicFormNoContainerInjectionInterface::buildForm | public | function | Form constructor. | Overrides FormInterface::buildForm |
BasicFormNoContainerInjectionInterface::getFormId | public | function | Returns a unique string identifying the form. | Overrides FormInterface::getFormId |
BasicFormNoContainerInjectionInterface::submitForm | public | function | Form submission handler. | Overrides FormInterface::submitForm |
BasicFormNoContainerInjectionInterface::validateForm | public | function | Form validation handler. | Overrides FormInterface::validateForm |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.