Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
do_username
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
do_username
Merge requests
!13
Issue
#3472367
by hussainweb: Error with Drush 13
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Issue
#3472367
by hussainweb: Error with Drush 13
issue/do_username-3472367:3472367-error-with-drush
into
2.x
Overview
0
Commits
1
Pipelines
2
Changes
2
Merged
Hussain Abbas
requested to merge
issue/do_username-3472367:3472367-error-with-drush
into
2.x
6 months ago
Overview
0
Commits
1
Pipelines
2
Changes
2
Expand
Closes
#3472367
0
0
Merge request reports
Compare
2.x
2.x (base)
and
latest version
latest version
7abbd9a5
1 commit,
6 months ago
2 files
+
2
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
src/Commands/DOCopyFieldValues.php
+
1
−
5
Options
@@ -4,7 +4,6 @@ namespace Drupal\do_username\Commands;
use
Drupal\Core\Entity\EntityFieldManager
;
use
Drupal\Core\Entity\EntityTypeManager
;
use
Drupal\Core\Logger\LoggerChannelFactoryInterface
;
use
Drush\Commands\DrushCommands
;
/**
@@ -49,13 +48,10 @@ class DOCopyFieldValues extends DrushCommands {
* Entity type service.
* @param \Drupal\Core\Entity\EntityFieldManager $entityFieldManager
* Entity type service.
* @param \Drupal\Core\Logger\LoggerChannelFactoryInterface $loggerChannelFactory
* Logger service.
*/
public
function
__construct
(
EntityTypeManager
$entityTypeManager
,
EntityFieldManager
$entityFieldManager
,
LoggerChannelFactoryInterface
$loggerChannelFactory
)
{
public
function
__construct
(
EntityTypeManager
$entityTypeManager
,
EntityFieldManager
$entityFieldManager
)
{
$this
->
entityTypeManager
=
$entityTypeManager
;
$this
->
entityFieldManager
=
$entityFieldManager
;
$this
->
logger
=
$loggerChannelFactory
->
get
(
'do_username'
);
}
/**
Loading