You are here

public function ContentModerationIPEAccess::__construct in Lightning Workflow 8

Same name and namespace in other branches
  1. 8.3 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:

string $plugin_id:

mixed $plugin_definition:

\Drupal\content_moderation\ModerationInformationInterface $information:

File

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

Class

ContentModerationIPEAccess
Plugin annotation @IPEAccess( id = "content_moderation_ipe", label = @Translation("Content moderation") )

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;
}