Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal-3424701
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Issue forks
drupal-3424701
Commits
eb10b686
Verified
Commit
eb10b686
authored
1 year ago
by
Dave Long
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3425568
by mstrelan: Block attribute class expecting wrong ContextDefinition
parent
96293a60
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/lib/Drupal/Core/Block/Attribute/Block.php
+1
-1
1 addition, 1 deletion
core/lib/Drupal/Core/Block/Attribute/Block.php
with
1 addition
and
1 deletion
core/lib/Drupal/Core/Block/Attribute/Block.php
+
1
−
1
View file @
eb10b686
...
...
@@ -20,7 +20,7 @@ class Block extends Plugin {
* The administrative label of the block.
* @param \Drupal\Core\StringTranslation\TranslatableMarkup|null $category
* (optional) The category in the admin UI where the block will be listed.
* @param \Drupal\Core\
Annotation
\ContextDefinition[] $context_definitions
* @param \Drupal\Core\
Plugin\Context
\ContextDefinition
Interface
[] $context_definitions
* (optional) An array of context definitions describing the context used by
* the plugin. The array is keyed by context names.
* @param string|null $deriver
...
...
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