You are here

public function ScheduledTransitionRevisionLinkField::__construct in Scheduled Transitions 8

Constructs a new ScheduledTransitionRevisionLinkField.

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\Access\AccessManagerInterface $access_manager: The access manager.

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.

Overrides LinkBase::__construct

File

src/Plugin/views/field/ScheduledTransitionRevisionLinkField.php, line 44

Class

ScheduledTransitionRevisionLinkField
Link to the scheduled revision.

Namespace

Drupal\scheduled_transitions\Plugin\views\field

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, AccessManagerInterface $access_manager, EntityTypeManagerInterface $entityTypeManager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition, $access_manager);
  $this->entityTypeManager = $entityTypeManager;
}