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
4f70858d
Commit
4f70858d
authored
4 months ago
by
Lee Rowlands
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3501171
: Fatal error on Drupal 10.4
parent
fcffb66b
Branches
8.x-1.x
Tags
8.x-1.20
1 merge request
!16
Test D10
Pipeline
#506811
passed with warnings
3 days ago
Stage: build
Stage: validate
Stage: test
Changes
2
Pipelines
20
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-0
2 additions, 0 deletions
.gitlab-ci.yml
src/Plugin/views/argument/TaxonomyEntityIndexDepth.php
+3
-1
3 additions, 1 deletion
src/Plugin/views/argument/TaxonomyEntityIndexDepth.php
with
5 additions
and
1 deletion
.gitlab-ci.yml
+
2
−
0
View file @
4f70858d
...
...
@@ -51,3 +51,5 @@ include:
variables
:
# SKIP_ESLINT: '1'
OPT_IN_TEST_NEXT_MINOR
:
1
OPT_IN_TEST_NEXT_MAJOR
:
1
OPT_IN_TEST_PREVIOUS_MAJOR
:
1
This diff is collapsed.
Click to expand it.
src/Plugin/views/argument/TaxonomyEntityIndexDepth.php
+
3
−
1
View file @
4f70858d
...
...
@@ -7,6 +7,7 @@ namespace Drupal\taxonomy_entity_index\Plugin\views\argument;
use
Drupal\Core\Database\Connection
;
use
Drupal\Core\Database\Query\Condition
;
use
Drupal\Core\Entity\EntityRepositoryInterface
;
use
Drupal\Core\Entity\EntityStorageInterface
;
use
Drupal\taxonomy\Plugin\views\argument\IndexTidDepth
;
use
Drupal\views\Plugin\views\display\DisplayPluginBase
;
use
Drupal\views\ViewExecutable
;
...
...
@@ -30,7 +31,8 @@ abstract class TaxonomyEntityIndexDepth extends IndexTidDepth {
/**
* {@inheritdoc}
*/
public
function
__construct
(
array
$configuration
,
$plugin_id
,
$plugin_definition
,
protected
Connection
$database
,
protected
EntityRepositoryInterface
$entityRepository
)
{
public
function
__construct
(
array
$configuration
,
$plugin_id
,
$plugin_definition
,
protected
Connection
$database
,
EntityRepositoryInterface
|
EntityStorageInterface
$entityRepository
)
{
$this
->
entityRepository
=
$entityRepository
;
parent
::
__construct
(
$configuration
,
$plugin_id
,
$plugin_definition
,
$this
->
entityRepository
);
}
...
...
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