Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ViewUIConverter.php

function ViewUIConverter::__construct

Same name in this branch
  1. 11.1.x core/modules/views_ui/src/ProxyClass/ParamConverter/ViewUIConverter.php \Drupal\views_ui\ProxyClass\ParamConverter\ViewUIConverter::__construct()

Constructs a new ViewUIConverter.

Parameters

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

\Drupal\Core\TempStore\SharedTempStoreFactory $temp_store_factory: The factory for the temp store object.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

\Drupal\Core\Routing\AdminContext $admin_context: The route admin context service.

\Drupal\Core\Entity\EntityRepositoryInterface $entity_repository: The entity repository.

Overrides AdminPathConfigEntityConverter::__construct

File

core/modules/views_ui/src/ParamConverter/ViewUIConverter.php, line 54

Class

ViewUIConverter
Provides upcasting for a view entity to be used in the Views UI.

Namespace

Drupal\views_ui\ParamConverter

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, SharedTempStoreFactory $temp_store_factory, ConfigFactoryInterface $config_factory, AdminContext $admin_context, EntityRepositoryInterface $entity_repository) {
    parent::__construct($entity_type_manager, $config_factory, $admin_context, $entity_repository);
    $this->tempStoreFactory = $temp_store_factory;
}
RSS feed
Powered by Drupal