Drupal 8  8.0.2
Rearrange Class Reference
Inheritance diagram for Rearrange:

Public Member Functions

 __construct ($type=NULL)
 
 getFormKey ()
 
 getForm (ViewEntityInterface $view, $display_id, $js, $type=NULL)
 
 getFormId ()
 
 buildForm (array $form, FormStateInterface $form_state)
 
 submitForm (array &$form, FormStateInterface $form_state)
 
- Public Member Functions inherited from ViewsFormBase
 getFormState (ViewEntityInterface $view, $display_id, $js)
 
 validateForm (array &$form, FormStateInterface $form_state)
 
 submitForm (array &$form, FormStateInterface $form_state)
 
- Public Member Functions inherited from ViewsFormInterface
 getForm (ViewEntityInterface $view, $display_id, $js)
 

Additional Inherited Members

- Protected Member Functions inherited from ViewsFormBase
 setID ($id)
 
 setType ($type)
 
- Protected Attributes inherited from ViewsFormBase
 $id
 
 $type
 

Detailed Description

Provides a rearrange form for Views handlers.

Constructor & Destructor Documentation

__construct (   $type = NULL)

Constructs a new Rearrange object.

References ViewsFormBase\setType().

Here is the call graph for this function:

Member Function Documentation

buildForm ( array  $form,
FormStateInterface  $form_state 
)

{Form constructor.

Parameters
array$formAn associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface$form_stateThe current state of the form.
Returns
array The form structure.
}

Implements FormInterface.

References SafeMarkup\format(), Url\fromRoute(), FormStateInterface\get(), ViewExecutable\getHandlerTypes(), Drupal\l(), FormStateInterface\set(), and t().

Here is the call graph for this function:

getForm ( ViewEntityInterface  $view,
  $display_id,
  $js,
  $type = NULL 
)

{}

References ViewsFormBase\setType().

Here is the call graph for this function:

getFormId ( )

{Returns a unique string identifying the form.

Returns
string The unique string identifying the form.
}

Implements FormInterface.

getFormKey ( )

{Returns the key that represents this form.

Returns
string The form key used in the URL, e.g., the string 'add-handler' in 'admin/structure/views/%/add-handler/%/%/'.
}

Implements ViewsFormInterface.

submitForm ( array &  $form,
FormStateInterface  $form_state 
)

{Form submission handler.

Parameters
array$formAn associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface$form_stateThe current state of the form.
}

Implements FormInterface.

References FormStateInterface\get(), ViewExecutable\getHandlerTypes(), and FormStateInterface\getValue().

Here is the call graph for this function:


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