You are here

public function SetValueCommand::__construct in Config Pages 8.2

Same name and namespace in other branches
  1. 8.3 src/Command/SetValueCommand.php \Drupal\config_pages\Command\SetValueCommand::__construct()

Constructs a new SetValueCommand object.

Parameters

\Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_factory: Logger factory.

File

src/Command/SetValueCommand.php, line 37

Class

SetValueCommand
Class Drupal command.

Namespace

Drupal\config_pages\Command

Code

public function __construct(LoggerChannelFactoryInterface $logger_factory) {
  $this->logger = $logger_factory
    ->get('config_pages');
  parent::__construct();
}