Tripal
Public Member Functions | Protected Attributes | List of all members
Drupal\tripal\Form\TripalAdminRemoveQuota Class Reference
Inheritance diagram for Drupal\tripal\Form\TripalAdminRemoveQuota:
Inheritance graph
[legend]
Collaboration diagram for Drupal\tripal\Form\TripalAdminRemoveQuota:
Collaboration graph
[legend]

Public Member Functions

 getFormId ()
 
 getCancelUrl ()
 
 buildForm (array $form, FormStateInterface $form_state, $uid=NULL)
 
 getQuestion ()
 
 submitForm (array &$form, FormStateInterface $form_state)
 

Protected Attributes

 $uid
 

Member Function Documentation

◆ buildForm()

Drupal\tripal\Form\TripalAdminRemoveQuota::buildForm ( array  $form,
FormStateInterface  $form_state,
  $uid = NULL 
)

Build form.

Parameters
array$form
\Drupal\Core\Form\FormStateInterface$form_state
null$uid
Returns
array

◆ getCancelUrl()

Drupal\tripal\Form\TripalAdminRemoveQuota::getCancelUrl ( )

Get cancel URL.

Returns
\Drupal\Core\Url

◆ getFormId()

Drupal\tripal\Form\TripalAdminRemoveQuota::getFormId ( )

Form ID.

Returns
string

◆ getQuestion()

Drupal\tripal\Form\TripalAdminRemoveQuota::getQuestion ( )

Ask the user to confirm;

Returns
\Drupal\Core\StringTranslation\TranslatableMarkup

◆ submitForm()

Drupal\tripal\Form\TripalAdminRemoveQuota::submitForm ( array &  $form,
FormStateInterface  $form_state 
)

Remove quota for a user.

Parameters
array$form
\Drupal\Core\Form\FormStateInterface$form_state
Returns
\Zend\Diactoros\Response\RedirectResponse

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