constant SamlauthMappingEditForm::PREVENT_MAP_FIELDS in SAML Authentication 8.3
Same name and namespace in other branches
- 4.x modules/samlauth_user_fields/src/Form/SamlauthMappingEditForm.php \Drupal\samlauth_user_fields\Form\SamlauthMappingEditForm::PREVENT_MAP_FIELDS
User fields (of mappable types) that should not be mappable.
File
- modules/
samlauth_user_fields/ src/ Form/ SamlauthMappingEditForm.php, line 42
Class
- SamlauthMappingEditForm
- Form for adding a mapped SAML attribute -> user field.
Namespace
Drupal\samlauth_user_fields\FormCode
const PREVENT_MAP_FIELDS = [
// Name and email are mappable, but not from this form.
'name',
'mail',
'uid',
'status',
'access',
'login',
'init',
// preferred(_admin)_langcode is mappable. (default_)langcode seem to be
// standard fields on entities.
'langcode',
'default_langcode',
];