Drupal 8  8.0.2
ViewPreviewForm Class Reference
Inheritance diagram for ViewPreviewForm:

Public Member Functions

 form (array $form, FormStateInterface $form_state)
 
 submitPreview ($form, FormStateInterface $form_state)
 
- Public Member Functions inherited from ViewFormBase
 init (FormStateInterface $form_state)
 
 buildForm (array $form, FormStateInterface $form_state, $display_id=NULL)
 
 getDisplayTabs (ViewUI $view)
 
 isDefaultDisplayShown (ViewUI $view)
 
 getDisplayLabel (ViewUI $view, $display_id, $check_changed=TRUE)
 
- Public Member Functions inherited from EntityForm
 setOperation ($operation)
 
 getBaseFormId ()
 
 getFormId ()
 
 buildForm (array $form, FormStateInterface $form_state)
 
 form (array $form, FormStateInterface $form_state)
 
 processForm ($element, FormStateInterface $form_state, $form)
 
 afterBuild (array $element, FormStateInterface $form_state)
 
 submitForm (array &$form, FormStateInterface $form_state)
 
 save (array $form, FormStateInterface $form_state)
 
 buildEntity (array $form, FormStateInterface $form_state)
 
 getEntity ()
 
 setEntity (EntityInterface $entity)
 
 getEntityFromRouteMatch (RouteMatchInterface $route_match, $entity_type_id)
 
 getOperation ()
 
 setModuleHandler (ModuleHandlerInterface $module_handler)
 
 setEntityManager (EntityManagerInterface $entity_manager)
 
 setEntityTypeManager (EntityTypeManagerInterface $entity_type_manager)
 
- Public Member Functions inherited from EntityFormInterface
 setStringTranslation (TranslationInterface $string_translation)
 
- Public Member Functions inherited from FormInterface
 validateForm (array &$form, FormStateInterface $form_state)
 

Protected Member Functions

 actions (array $form, FormStateInterface $form_state)
 
- Protected Member Functions inherited from ViewFormBase
 prepareEntity ()
 
- Protected Member Functions inherited from EntityForm
 init (FormStateInterface $form_state)
 
 actionsElement (array $form, FormStateInterface $form_state)
 
 actions (array $form, FormStateInterface $form_state)
 
 copyFormValuesToEntity (EntityInterface $entity, array $form, FormStateInterface $form_state)
 
 prepareEntity ()
 
 prepareInvokeAll ($hook, FormStateInterface $form_state)
 

Additional Inherited Members

- Protected Attributes inherited from ViewFormBase
 $displayID
 
- Protected Attributes inherited from EntityForm
 $operation
 
 $moduleHandler
 
 $entityManager
 
 $entityTypeManager
 
 $entity
 

Detailed Description

Form controller for the Views preview form.

Member Function Documentation

actions ( array  $form,
FormStateInterface  $form_state 
)
protected

{}

References Url\fromRoute(), and t().

Here is the call graph for this function:

form ( array  $form,
FormStateInterface  $form_state 
)

{}

References Drupal\config(), FormStateInterface\disableCache(), FormStateInterface\get(), FormStateInterface\getUserInput(), FormStateInterface\getValue(), FormStateInterface\isValueEmpty(), and t().

Here is the call graph for this function:

submitPreview (   $form,
FormStateInterface  $form_state 
)

Form submission handler for the Preview button.

References FormStateInterface\set(), and FormStateInterface\setRebuild().

Here is the call graph for this function:


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