Provides upcasting for a view entity to be used in the Views UI.
Example:
pattern: '/some/{view}/and/{bar}' options: parameters: view: type: 'entity:view' tempstore: TRUE
The value for {view} will be converted to a view entity prepared for the Views UI and loaded from the views temp store, but it will not touch the value for {bar}.
Hierarchy
- class \Drupal\Core\ParamConverter\EntityConverter implements ParamConverterInterface
- class \Drupal\Core\ParamConverter\AdminPathConfigEntityConverter
- class \Drupal\views_ui\ParamConverter\ViewUIConverter implements ParamConverterInterface
 
 
 - class \Drupal\Core\ParamConverter\AdminPathConfigEntityConverter
 
File
- core/modules/views_ui/src/ParamConverter/ViewUIConverter.php, line 30
 
Namespace
Drupal\views_ui\ParamConverter
Members
| Name | Modifiers | Type | Description | 
|---|---|---|---|
| AdminPathConfigEntityConverter::$adminContext | protected | property | The route admin context to determine whether a route is an admin one. | 
| AdminPathConfigEntityConverter::$configFactory | protected | property | The config factory. | 
| EntityConverter::$entityManager | protected | property | Entity manager which performs the upcasting in the end. | 
| EntityConverter::getEntityTypeFromDefaults | protected | function | Determines the entity type ID given a route definition and route defaults. | 
| ViewUIConverter::$tempStoreFactory | protected | property | Stores the tempstore factory. | 
| ViewUIConverter::applies | public | function | Determines if the converter applies to a specific route and variable. Overrides AdminPathConfigEntityConverter::applies | 
| ViewUIConverter::convert | public | function | Converts path variables to their corresponding objects. Overrides AdminPathConfigEntityConverter::convert | 
| ViewUIConverter::__construct | public | function | Constructs a new ViewUIConverter. Overrides AdminPathConfigEntityConverter::__construct | 
Please login to continue.