BaseFormIdInterface
interface BaseFormIdInterface
Provides an interface for a Form that has a base form ID.
This will become the $form_state->getBaseInfo()['base_form_id'] used to generate the name of hook_form_BASE_FORM_ID_alter().
Hierarchy
- interface \Drupal\Core\Form\FormInterface
- interface \Drupal\Core\Form\BaseFormIdInterface
File
- core/lib/Drupal/Core/Form/BaseFormIdInterface.php, line 11
Namespace
Drupal\Core\FormMembers
Name | Modifiers | Type | Description |
---|---|---|---|
BaseFormIdInterface::getBaseFormId | public | function | Returns a string identifying the base form. |
FormInterface::buildForm | public | function | Form constructor. Overrides FormInterface::buildForm |
FormInterface::getFormId | public | function | Returns a unique string identifying the form. |
FormInterface::submitForm | public | function | Form submission handler. |
FormInterface::validateForm | public | function | Form validation handler. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Form!BaseFormIdInterface.php/interface/BaseFormIdInterface/8.1.x