function VersionHistoryLocalTasks::__construct
Creates a new VersionHistoryLocalTasks instance.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.
File
-
core/
lib/ Drupal/ Core/ Entity/ Plugin/ Derivative/ VersionHistoryLocalTasks.php, line 21
Class
- VersionHistoryLocalTasks
- Provides version history local tasks for revisionable entities.
Namespace
Drupal\Core\Entity\Plugin\DerivativeCode
public function __construct(protected EntityTypeManagerInterface $entityTypeManager) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.