You are here

public function FieldDefaultsBulkCommands::__construct in Field Defaults 8

Construct for field defaults drush commands.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: Entity type service.

\Drupal\Core\Logger\LoggerChannelFactoryInterface $loggerChannelFactory: Logger service.

File

src/Commands/FieldDefaultsBulkCommands.php, line 37

Class

FieldDefaultsBulkCommands
Defines Drush commands for the module.

Namespace

Drupal\field_defaults\Commands

Code

public function __construct(EntityTypeManagerInterface $entityTypeManager, LoggerChannelFactoryInterface $loggerChannelFactory) {
  $this->entityTypeManager = $entityTypeManager;
  $this->loggerChannelFactory = $loggerChannelFactory;
}