You are here

public function ContentModerationIPEAccess::__construct in Lightning Workflow 8.3

Same name and namespace in other branches
  1. 8 src/Plugin/IPEAccess/ContentModerationIPEAccess.php \Drupal\lightning_workflow\Plugin\IPEAccess\ContentModerationIPEAccess::__construct()
  2. 8.2 src/Plugin/IPEAccess/ContentModerationIPEAccess.php \Drupal\lightning_workflow\Plugin\IPEAccess\ContentModerationIPEAccess::__construct()

ContentModerationIPEAccess constructor.

Parameters

array $configuration: An array of plugin configuration options.

string $plugin_id: The plugin ID.

mixed $plugin_definition: The plugin definition.

\Drupal\content_moderation\ModerationInformationInterface $information: The moderation information service.

File

src/Plugin/IPEAccess/ContentModerationIPEAccess.php, line 47

Class

ContentModerationIPEAccess
Provides Panels IPE access logic for Content Moderation integration.

Namespace

Drupal\lightning_workflow\Plugin\IPEAccess

Code

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