ViewsFormInterface
interface ViewsFormInterface implements FormInterface (View source)
Methods
from
FormInterface
string
getFormKey()
Returns the key that represents this form.
getFormState(ViewEntityInterface $view, string|null $display_id, string $js)
Gets the form state for this form.
array
getForm(ViewEntityInterface $view, string|null $display_id, string $js)
Creates a new instance of this form.
Details
string
getFormId()
Returns a unique string identifying the form.
The returned ID should be a unique string that can be a valid PHP function name, since it's used in hook implementation names such as hook_form_FORM_ID_alter().
array
buildForm(array $form, FormStateInterface $form_state)
Form constructor.
validateForm(array $form, FormStateInterface $form_state)
Form validation handler.
submitForm(array $form, FormStateInterface $form_state)
Form submission handler.
string
getFormKey()
Returns the key that represents this form.
FormStateInterface
getFormState(ViewEntityInterface $view, string|null $display_id, string $js)
Gets the form state for this form.
array
getForm(ViewEntityInterface $view, string|null $display_id, string $js)
Creates a new instance of this form.