EditForm.php in Linkit 8.4
Same filename in this branch
Same filename and directory in other branches
Contains \Drupal\linkit\Form\Profile\EditForm.
Namespace
Drupal\linkit\Form\ProfileFile
src/Form/Profile/EditForm.phpView 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;
}
}