Drupal 8  8.0.2
FormInterface Interface Reference
Inheritance diagram for FormInterface:

Public Member Functions

 getFormId ()
 
 buildForm (array $form, FormStateInterface $form_state)
 
 validateForm (array &$form, FormStateInterface $form_state)
 
 submitForm (array &$form, FormStateInterface $form_state)
 

Detailed Description

Provides an interface for a Form.

Member Function Documentation

getFormId ( )

Returns a unique string identifying the form.

Returns
string The unique string identifying the form.

Implemented in TestForm, PrepareCallbackTestForm, BasicFormNoContainerInjectionInterface, ConfigSingleImportForm, ModulesUninstallConfirmForm, BlockListBuilder, ConfigTranslationDeleteForm, ModulesListConfirmForm, ViewsForm, EntityForm, LanguageListBuilder, SearchPageListBuilder, NodeRevisionDeleteForm, EntityAutocompleteElementFormTest, TextFormatElementFormTest, AjaxFormBlock, UserMultipleCancelConfirm, DeleteMultiple, NodeRevisionRevertForm, FilterFormatListBuilder, PathElementFormTest, NodeRevisionRevertTranslationForm, BreakLockForm, MenuLinkResetForm, ConfirmDeleteMultiple, BookRemoveForm, ImageEffectDeleteForm, DeleteForm, Display, NegotiationBrowserDeleteForm, BanDelete, DblogClearLogConfirmForm, VocabularyResetForm, ConfigHandler, ConfigHandlerGroup, ConfigHandlerExtra, Rearrange, AddHandler, DbLogFormInjectionTest, QueueSerializationTest, FormDefaultHandlersTest, RearrangeFilter, SearchPageForm, ExternalFormUrlTest, DeleteForm, FormController, VocabularyListBuilder, ReorderDisplays, Analyze, EditDetails, LanguageDeleteForm, TriggeringElementProgrammedUnitTest, RoleListBuilder, LanguageAddForm, ContentTranslationDeleteForm, ReindexConfirm, ConfirmFormTestForm, ConfigTranslationAddForm, ConfigTranslationEditForm, ShortcutDeleteForm, FileTestForm, LanguageEditForm, ConfirmFormArrayPathTestForm, VocabularyDeleteForm, RebuildPermissionsForm, and ViewsFormMainForm.

Referenced by ViewsFormBase\getFormState().

Here is the caller graph for this function:


The documentation for this interface was generated from the following file: