You are here

public function ViewUIConverter::__construct in Zircon Profile 8

Same name in this branch
  1. 8 core/modules/views_ui/src/ParamConverter/ViewUIConverter.php \Drupal\views_ui\ParamConverter\ViewUIConverter::__construct()
  2. 8 core/modules/views_ui/src/ProxyClass/ParamConverter/ViewUIConverter.php \Drupal\views_ui\ProxyClass\ParamConverter\ViewUIConverter::__construct()
Same name and namespace in other branches
  1. 8.0 core/modules/views_ui/src/ParamConverter/ViewUIConverter.php \Drupal\views_ui\ParamConverter\ViewUIConverter::__construct()

Constructs a new ViewUIConverter.

Parameters

\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.

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

Overrides EntityConverter::__construct

File

core/modules/views_ui/src/ParamConverter/ViewUIConverter.php, line 50
Contains \Drupal\views_ui\ParamConverter\ViewUIConverter.

Class

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

Namespace

Drupal\views_ui\ParamConverter

Code

public function __construct(EntityManagerInterface $entity_manager, SharedTempStoreFactory $temp_store_factory) {
  parent::__construct($entity_manager);
  $this->tempStoreFactory = $temp_store_factory;
}