You are here

EditForm.php in Linkit 8.4

File

src/Form/Profile/EditForm.php
View source
<?php

/**
 * @file
 * Contains \Drupal\linkit\Form\Profile\EditForm.
 */
namespace Drupal\linkit\Form\Profile;

use Drupal\Core\Form\FormStateInterface;

/**
 *  Provides an edit form for profile.
 *
 * @see \Drupal\linkit\Profile\FormBase
 */
class EditForm extends FormBase {

  /**
   * {@inheritdoc}
   */
  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

Namesort descending Description
EditForm Provides an edit form for profile.