Added missing modules, including some as submodules.
[yaffs-website] / web / modules / contrib / linkit / src / Form / Profile / EditForm.php
1 <?php
2
3 /**
4  * @file
5  * Contains \Drupal\linkit\Form\Profile\EditForm.
6  */
7
8 namespace Drupal\linkit\Form\Profile;
9
10 use Drupal\Core\Form\FormStateInterface;
11
12 /**
13  *  Provides an edit form for profile.
14  *
15  * @see \Drupal\linkit\Profile\FormBase
16  */
17 class EditForm extends FormBase {
18
19   /**
20    * {@inheritdoc}
21    */
22   protected function actions(array $form, FormStateInterface $form_state) {
23     $actions = parent::actions($form, $form_state);
24     $actions['submit']['#value'] = $this->t('Update profile');
25     $actions['delete']['#value'] = $this->t('Delete profile');
26     return $actions;
27   }
28
29 }