Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
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
drupal
Commits
f666681c
Verified
Commit
f666681c
authored
4 weeks ago
by
Théodore Biadala
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3507068
by quietone: Change @Plugin references not in tests
parent
e97a510e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!2964
Issue #2865710 : Dependencies from only one instance of a widget are used in display modes
Pipeline
#438777
passed with warnings
4 weeks ago
Stage: 🪄 Lint
Stage: 🗜️ Test
Pipeline: drupal
#438780
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
core/modules/views/src/Plugin/views/PluginBase.php
+1
-1
1 addition, 1 deletion
core/modules/views/src/Plugin/views/PluginBase.php
core/modules/views/src/Plugin/views/access/AccessPluginBase.php
+5
-5
5 additions, 5 deletions
...odules/views/src/Plugin/views/access/AccessPluginBase.php
with
6 additions
and
6 deletions
core/modules/views/src/Plugin/views/PluginBase.php
+
1
−
1
View file @
f666681c
...
...
@@ -18,7 +18,7 @@
/**
* Base class for any views plugin types.
*
* Via the
@P
lugin definition the plugin may specify a theme function or
* Via the
p
lugin definition the plugin may specify a theme function or
* template to be used for the plugin. It also can auto-register the theme
* implementation for that file or function.
* - theme: the theme implementation to use in the plugin. This must be the
...
...
This diff is collapsed.
Click to expand it.
core/modules/views/src/Plugin/views/access/AccessPluginBase.php
+
5
−
5
View file @
f666681c
...
...
@@ -32,11 +32,11 @@
* plugin should have an annotation that includes the plugin's metadata, for
* example:
* @code
*
@Plugin
(
* id
=
"deny_all",
* title
= @
Translat
ion
("No Access"),
* help
= @
Translat
ion
("Will not be accessible.")
* )
*
#[ViewsAccess
(
* id
:
"deny_all",
* title
: new
Translat
ableMarkup
("No Access"),
* help
: new
Translat
ableMarkup
("Will not be accessible.")
* )
]
* @endcode
*
* The definition should include the following keys:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment