You are here

public function LogMessage::__construct in Apigee Edge 8

LogMessage constructor.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin ID for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

\Psr\Log\LoggerInterface $logger: The logger.

Overrides ContextAwarePluginBase::__construct

File

modules/apigee_edge_actions/src/Plugin/RulesAction/LogMessage.php, line 70

Class

LogMessage
Defines a 'Log a message' action.

Namespace

Drupal\apigee_edge_actions\Plugin\RulesAction

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, LoggerInterface $logger) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->logger = $logger;
}