You are here

constant AUN_PUNCTUATION_REMOVE in Automatic User Names 8

Remove the punctuation from the username.

3 uses of AUN_PUNCTUATION_REMOVE
AutoUsernameSettingsForm::autoUsernameCleanstring in src/Form/AutoUsernameSettingsForm.php
Clean up a string segment to be used in a username.
AutoUsernameSettingsForm::buildForm in src/Form/AutoUsernameSettingsForm.php
Form constructor.
AutoUsernameSettingsForm::validateForm in src/Form/AutoUsernameSettingsForm.php
Validate auto_username_settings_form form submissions.

File

src/Form/AutoUsernameSettingsForm.php, line 28

Namespace

Drupal\auto_username\Form

Code

define('AUN_PUNCTUATION_REMOVE', 0);