You are here

public function ChangeConnectionRole::__construct in RedHen CRM 8

File

modules/redhen_connection/src/Plugin/Action/ChangeConnectionRole.php, line 43

Class

ChangeConnectionRole
Change the role of a Redhen Connection.

Namespace

Drupal\redhen_connection\Plugin\Action

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityTypeInterface $entity_type) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->entityType = $entity_type;
  $this->mismatch = 0;
}