Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
domain
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
domain
Commits
81588609
Commit
81588609
authored
2 years ago
by
Ken Rickard
Browse files
Options
Downloads
Patches
Plain Diff
Cleans up DomainAccessActionBase.
parent
1d6da291
No related branches found
No related tags found
1 merge request
!19
Run drupal check and fix issues
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
domain_access/src/Plugin/Action/DomainAccessActionBase.php
+2
-2
2 additions, 2 deletions
domain_access/src/Plugin/Action/DomainAccessActionBase.php
with
2 additions
and
2 deletions
domain_access/src/Plugin/Action/DomainAccessActionBase.php
+
2
−
2
View file @
81588609
...
...
@@ -18,7 +18,7 @@ abstract class DomainAccessActionBase extends ConfigurableActionBase implements
use
DependencyTrait
;
/**
* The
user role
entity type.
* The
action's
entity type.
*
* @var \Drupal\Core\Entity\EntityTypeInterface
*/
...
...
@@ -80,7 +80,7 @@ abstract class DomainAccessActionBase extends ConfigurableActionBase implements
*/
public
function
calculateDependencies
()
{
if
(
!
empty
(
$this
->
configuration
[
'domain_id'
]))
{
$prefix
=
$this
->
entityType
->
getConfig
Prefix
()
.
'.'
;
$prefix
=
$this
->
entityType
->
getConfig
DependencyKey
()
.
'.'
;
$this
->
addDependency
(
'config'
,
$prefix
.
$this
->
configuration
[
'domain_id'
]);
}
return
$this
->
dependencies
;
...
...
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