Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
taxonomy_entity_index
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
taxonomy_entity_index
Commits
4138c1c2
Verified
Commit
4138c1c2
authored
1 year ago
by
Lee Rowlands
Committed by
Lee Rowlands
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3276743
by larowlan, optasy, jipiuno: ArgumentCountError: Too few arguments to function
parent
e4a5bae4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Plugin/views/filter/TaxonomyEntityIndexTidDepth.php
+3
-15
3 additions, 15 deletions
src/Plugin/views/filter/TaxonomyEntityIndexTidDepth.php
with
3 additions
and
15 deletions
src/Plugin/views/filter/TaxonomyEntityIndexTidDepth.php
+
3
−
15
View file @
4138c1c2
...
...
@@ -50,25 +50,13 @@ class TaxonomyEntityIndexTidDepth extends TaxonomyIndexTidDepth implements Conta
*/
protected
$database
;
/**
* {@inheritdoc}
*/
public
function
__construct
(
array
$configuration
,
$plugin_id
,
$plugin_definition
,
Connection
$database
,
VocabularyStorageInterface
$vocabulary_storage
,
TermStorageInterface
$term_storage
)
{
parent
::
__construct
(
$configuration
,
$plugin_id
,
$plugin_definition
,
$vocabulary_storage
,
$term_storage
);
$this
->
database
=
$database
;
}
/**
* {@inheritdoc}
*/
public
static
function
create
(
ContainerInterface
$container
,
array
$configuration
,
$plugin_id
,
$plugin_definition
)
{
return
new
static
(
$configuration
,
$plugin_id
,
$plugin_definition
,
$container
->
get
(
'database'
),
$container
->
get
(
'entity_type.manager'
)
->
getStorage
(
'taxonomy_vocabulary'
),
$container
->
get
(
'entity_type.manager'
)
->
getStorage
(
'taxonomy_term'
)
);
$instance
=
parent
::
create
(
$container
,
$configuration
,
$plugin_id
,
$plugin_definition
);
$instance
->
database
=
$container
->
get
(
'database'
);
return
$instance
;
}
/**
...
...
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