You are here

protected function ConfigEntityRevisionsConverterBase::containerFor in Config Entity Revisions 8.2

Default implementation of containerFor - the container is the object.

1 call to ConfigEntityRevisionsConverterBase::containerFor()
ConfigEntityRevisionsConverterBase::convert in src/ConfigEntityRevisionsConverterBase.php
Converts path variables to their corresponding objects.
1 method overrides ConfigEntityRevisionsConverterBase::containerFor()
ViewRevisionsConverter::containerFor in modules/view_revisions/src/ParamConverter/ViewRevisionsConverter.php
Default implementation of containerFor - the container is the object.

File

src/ConfigEntityRevisionsConverterBase.php, line 84

Class

ConfigEntityRevisionsConverterBase
Parameter converter for upcasting entity IDs to full objects.

Namespace

Drupal\config_entity_revisions

Code

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