◆ buildForm()
      
        
          | Drupal\tripal\Form\TripalFileQuotaCustomEdit::buildForm  | 
          ( | 
          array  | 
          $form,  | 
        
        
           | 
           | 
          FormStateInterface  | 
          $form_state,  | 
        
        
           | 
           | 
            | 
          $uid = NULL  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Build a form to allow the user to set the default quota and control user specific quota.
- Parameters
 - 
  
    | array | $form |  | 
    | \Drupal\Core\Form\FormStateInterface | $form_state |  | 
  
   
- Returns
 - array 
 
 
 
◆ getFormId()
      
        
          | Drupal\tripal\Form\TripalFileQuotaCustomEdit::getFormId  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ submitForm()
      
        
          | Drupal\tripal\Form\TripalFileQuotaCustomEdit::submitForm  | 
          ( | 
          array &  | 
          $form,  | 
        
        
           | 
           | 
          FormStateInterface  | 
          $form_state  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Write to the two drupal state the site wide default quota and exp date.
- Parameters
 - 
  
    | array | $form |  | 
    | \Drupal\Core\Form\FormStateInterface | $form_state |  | 
  
   
 
 
◆ validateForm()
      
        
          | Drupal\tripal\Form\TripalFileQuotaCustomEdit::validateForm  | 
          ( | 
          array &  | 
          $form,  | 
        
        
           | 
           | 
          FormStateInterface  | 
          $form_state  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Validate the form's values: proper numbers and/or MB, GB, TB for quota field.
- Parameters
 - 
  
    | array | $form |  | 
    | \Drupal\Core\Form\FormStateInterface | $form_state |  | 
  
   
 
 
The documentation for this class was generated from the following file:
- tripal/src/Form/TripalFileQuotaCustomEdit.php