You are here

protected function ViewRevisionsConverter::containerFor in Config Entity Revisions 8.2

Default implementation of containerFor - the container is the object.

Overrides ConfigEntityRevisionsConverterBase::containerFor

File

modules/view_revisions/src/ParamConverter/ViewRevisionsConverter.php, line 45

Class

ViewRevisionsConverter
Provides upcasting for a view entity with revisions support.

Namespace

Drupal\view_revisions\ParamConverter

Code

protected function containerFor($config_entity) {
  return new ViewRevisionsUI($config_entity);
}