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
!155
Resolve
#3490037
"Min drupal 10.3"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve
#3490037
"Min drupal 10.3"
issue/private_message-3490037:3490037-min-drupal-10.3
into
4.x
Overview
32
Commits
30
Pipelines
27
Changes
2
Merged
Claudiu Cristea
requested to merge
issue/private_message-3490037:3490037-min-drupal-10.3
into
4.x
3 months ago
Overview
29
Commits
30
Pipelines
27
Changes
2
Expand
Closes
#3490037
0
0
Merge request reports
Viewing commit
413cd1bb
Show latest version
2 files
+
44
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
413cd1bb
Attribute for PrivateMessageConfigForm plugins
· 413cd1bb
Claudiu Cristea
authored
3 months ago
src/Attribute/PrivateMessageConfigForm.php
0 → 100644
+
29
−
0
Options
<?php
declare
(
strict_types
=
1
);
namespace
Drupal\private_message\Attribute
;
use
Drupal\Component\Plugin\Attribute\Plugin
;
use
Drupal\Core\StringTranslation\TranslatableMarkup
;
/**
* The private message configuration form plugin attribute.
*/
#[\Attribute(\Attribute::TARGET_CLASS)]
class
PrivateMessageConfigForm
extends
Plugin
{
/**
* Constructs a PrivateMessageConfigForm attribute.
*
* @param string $id
* The plugin ID.
* @param \Drupal\Core\StringTranslation\TranslatableMarkup $name
* The name of the form plugin.
*/
public
function
__construct
(
public
readonly
string
$id
,
public
readonly
TranslatableMarkup
$name
,
)
{}
}
Loading