You are here

public function MassPasswordChangeConfirm::getConfirmText in Mass Password Change 8

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

src/Form/MassPasswordChangeConfirm.php, line 78

Class

MassPasswordChangeConfirm
Provides a confirmation form for mass password change action.

Namespace

Drupal\mass_password_change\Form

Code

public function getConfirmText() {
  return $this
    ->t('Change password');
}