You are here

public function AddOrderComment::__construct in Ubercart 8.4

Constructs the AddOrderComment object.

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.

\Drupal\Core\Utility\Token $token: The token service.

Overrides ContextAwarePluginBase::__construct

File

uc_order/src/Plugin/RulesAction/AddOrderComment.php, line 54

Class

AddOrderComment
Provides a 'Add an order comment' action.

Namespace

Drupal\uc_order\Plugin\RulesAction

Code

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