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