Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
flexiform
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
flexiform
Commits
fa89331c
Commit
fa89331c
authored
1 year ago
by
Paul Smith
Committed by
Yan Loetzer
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3292097
: Plugin Exception
parent
a8cf5aa6
Branches
2.0.x
No related tags found
1 merge request
!1
Issue #3292097: Plugin Exception
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Plugin/Deriver/FormEntityProfileTypeDeriver.php
+4
-4
4 additions, 4 deletions
src/Plugin/Deriver/FormEntityProfileTypeDeriver.php
with
4 additions
and
4 deletions
src/Plugin/Deriver/FormEntityProfileTypeDeriver.php
+
4
−
4
View file @
fa89331c
...
...
@@ -5,7 +5,7 @@ namespace Drupal\flexiform\Plugin\Deriver;
use
Drupal\Component\Plugin\Derivative\DeriverBase
;
use
Drupal\Core\Entity\EntityTypeBundleInfoInterface
;
use
Drupal\Core\Entity\EntityTypeManagerInterface
;
use
Drupal\Core\Plugin\Context\ContextDefinition
;
use
Drupal\Core\Plugin\Context\
Entity
ContextDefinition
;
use
Drupal\Core\Plugin\Discovery\ContainerDeriverInterface
;
use
Drupal\Core\StringTranslation\StringTranslationTrait
;
use
Drupal\Core\StringTranslation\TranslationInterface
;
...
...
@@ -23,14 +23,14 @@ class FormEntityProfileTypeDeriver extends DeriverBase implements ContainerDeriv
*
* @var \Drupal\Core\Entity\EntityTypeManagerInterface
*/
protected
$entityTypeManager
;
protected
EntityTypeManagerInterface
$entityTypeManager
;
/**
* The entity bundle info manager.
*
* @var \Drupal\Core\Entity\EntityTypeBundleInfoInterface
*/
protected
$entityBundleInfo
;
protected
EntityTypeBundleInfoInterface
$entityBundleInfo
;
/**
* Constructs new EntityViewDeriver.
...
...
@@ -84,7 +84,7 @@ class FormEntityProfileTypeDeriver extends DeriverBase implements ContainerDeriv
),
'profile_type'
=>
$bundle
,
'context'
=>
[
'user'
=>
new
ContextDefinition
(
'entity:user'
,
$this
->
t
(
'Base User'
)),
'user'
=>
new
Entity
ContextDefinition
(
'entity:user'
,
$this
->
t
(
'Base User'
)),
],
]
+
$base_plugin_definition
;
}
...
...
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