EditForm.php in Linkit 8.5        
                          
                  
                        
  
  
  
  
File
  src/Form/Profile/EditForm.php
  
    View source  
  <?php
namespace Drupal\linkit\Form\Profile;
use Drupal\Core\Form\FormStateInterface;
class EditForm extends FormBase {
  
  protected function actions(array $form, FormStateInterface $form_state) {
    $actions = parent::actions($form, $form_state);
    $actions['submit']['#value'] = $this
      ->t('Update profile');
    $actions['delete']['#value'] = $this
      ->t('Delete profile');
    return $actions;
  }
}
 
Classes
        
  
  
      
      
         
      
                  
            Name            | 
                  
            Description           | 
              
    
    
          
                  | 
            EditForm           | 
                  
            Provides an edit form for profile.           |