Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
private_message
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
private_message
Merge requests
!175
Use default:selection handler
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Use default:selection handler
issue/private_message-2987189:2987189-realname
into
4.x
Overview
0
Commits
3
Pipelines
5
Changes
4
Merged
Claudiu Cristea
requested to merge
issue/private_message-2987189:2987189-realname
into
4.x
1 month ago
Overview
0
Commits
3
Pipelines
5
Changes
4
Expand
Closes
#2987189
0
0
Merge request reports
Compare
4.x
version 3
4f26bee8
1 month ago
version 2
13b9b9e1
1 month ago
version 1
df8e392f
1 month ago
4.x (base)
and
latest version
latest version
52d7bbb0
3 commits,
1 month ago
version 3
4f26bee8
3 commits,
1 month ago
version 2
13b9b9e1
2 commits,
1 month ago
version 1
df8e392f
1 commit,
1 month ago
4 files
+
69
−
69
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
src/Form/BanUserForm.php
+
5
−
1
Options
@@ -41,9 +41,13 @@ class BanUserForm extends FormBase {
'#type'
=>
'entity_autocomplete'
,
'#target_type'
=>
'user'
,
'#tags'
=>
FALSE
,
'#selection_handler'
=>
'
private_message:not_blocked_
user'
,
'#selection_handler'
=>
'
default:
user'
,
'#selection_settings'
=>
[
'include_anonymous'
=>
FALSE
,
// @see \private_message_entity_query_user_alter()
'private_message'
=>
[
'active_users_selection'
=>
TRUE
,
],
],
];
Loading