You are here

AddForm.php in Linkit 8.5

Same filename in this branch
  1. 8.5 src/Form/Matcher/AddForm.php
  2. 8.5 src/Form/Profile/AddForm.php
Same filename and directory in other branches
  1. 8.4 src/Form/Profile/AddForm.php

File

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

namespace Drupal\linkit\Form\Profile;

use Drupal\Core\Form\FormStateInterface;

/**
 * Controller for profile addition forms.
 *
 * @see \Drupal\linkit\Form\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;
  }

}

Classes

Namesort descending Description
AddForm Controller for profile addition forms.