public function EntityReplicateActions::__construct in Replicate UI 8
Creates a new RouteSubscriber instance.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
File
- src/
Plugin/ Derivative/ EntityReplicateActions.php, line 35
Class
Namespace
Drupal\replicate_ui\Plugin\DerivativeCode
public function __construct(EntityTypeManagerInterface $entityTypeManager, ConfigFactoryInterface $config_factory) {
$this->entityTypeManager = $entityTypeManager;
$this->configFactory = $config_factory;
}