Version 1
[yaffs-website] / web / modules / contrib / linkit / src / Form / Profile / AddForm.php
diff --git a/web/modules/contrib/linkit/src/Form/Profile/AddForm.php b/web/modules/contrib/linkit/src/Form/Profile/AddForm.php
new file mode 100644 (file)
index 0000000..b43d69c
--- /dev/null
@@ -0,0 +1,28 @@
+<?php
+
+/**
+ * @file
+ * Contains \Drupal\linkit\Form\Profile\AddForm.
+ */
+
+namespace Drupal\linkit\Form\Profile;
+
+use Drupal\Core\Form\FormStateInterface;
+
+/**
+ * Controller for profile addition forms.
+ *
+ * @see \Drupal\linkit\Profile\FormBase
+ */
+class AddForm extends FormBase {
+
+  /**
+   * {@inheritdoc}
+   */
+  public function actions(array $form, FormStateInterface $form_state) {
+    $actions = parent::actions($form, $form_state);
+    $actions['submit']['#value'] = $this->t('Save and manage matchers');
+    return $actions;
+  }
+
+}