You are here

class WebformRevisionsConverter in Config Entity Revisions 8

Same name and namespace in other branches
  1. 8.2 modules/webform_revisions/src/ParamConverter/WebformRevisionsConverter.php \Drupal\webform_revisions\ParamConverter\WebformRevisionsConverter
  2. 1.x modules/webform_revisions/src/ParamConverter/WebformRevisionsConverter.php \Drupal\webform_revisions\ParamConverter\WebformRevisionsConverter

Parameter converter for upcasting entity IDs to full, revisioned objects.

Hierarchy

Expanded class hierarchy of WebformRevisionsConverter

See also

entities_revisions_translations

1 string reference to 'WebformRevisionsConverter'
webform_revisions.services.yml in modules/webform_revisions/webform_revisions.services.yml
modules/webform_revisions/webform_revisions.services.yml
1 service uses WebformRevisionsConverter
paramconverter.webform_revisions in modules/webform_revisions/webform_revisions.services.yml
Drupal\webform_revisions\ParamConverter\WebformRevisionsConverter

File

modules/webform_revisions/src/ParamConverter/WebformRevisionsConverter.php, line 14

Namespace

Drupal\webform_revisions\ParamConverter
View source
class WebformRevisionsConverter extends ConfigEntityRevisionsConverterBase implements ParamConverterInterface {
  use WebformRevisionsConfigTrait;

}

Members

Namesort descending Modifiers Type Description Overrides
ConfigEntityRevisionsConverterBase::applies public function Determines if the converter applies to a specific route and variable. Overrides EntityConverter::applies
ConfigEntityRevisionsConverterBase::convert public function Converts path variables to their corresponding objects. Overrides EntityConverter::convert
ConfigEntityRevisionsConverterBase::getEntityTypeFromDefaults public function Determines the entity type ID given a route definition and route defaults. Overrides DynamicEntityTypeParamConverterTrait::getEntityTypeFromDefaults
ConfigEntityRevisionsStorageTrait::admin_permission public function
ConfigEntityRevisionsStorageTrait::config_entity_name public function
ConfigEntityRevisionsStorageTrait::content_entity_type public function
ConfigEntityRevisionsStorageTrait::content_parameter_name public function
ConfigEntityRevisionsStorageTrait::content_parent_reference_field public function
ConfigEntityRevisionsStorageTrait::has_canonical_url public function
ConfigEntityRevisionsStorageTrait::has_own_content public function
ConfigEntityRevisionsStorageTrait::module_name public function
ConfigEntityRevisionsStorageTrait::revisions_entity_name public function
ConfigEntityRevisionsStorageTrait::setting_name public function
ConfigEntityRevisionsStorageTrait::title public function
DeprecatedServicePropertyTrait::__get public function Allows to access deprecated/removed properties.
EntityConverter::$deprecatedProperties protected property
EntityConverter::$entityRepository protected property Entity repository.
EntityConverter::$entityTypeManager protected property Entity type manager which performs the upcasting in the end.
EntityConverter::getLatestTranslationAffectedRevision Deprecated protected function Returns the latest revision translation of the specified entity.
EntityConverter::languageManager protected function Returns a language manager instance.
EntityConverter::loadRevision Deprecated protected function Loads the specified entity revision.
EntityConverter::__construct public function Constructs a new EntityConverter. 1
WebformRevisionsConfigTrait::$constants private property
WebformRevisionsConfigTrait::contentEntityCount public function Get the number of submissions related to a revision.
WebformRevisionsConfigTrait::deleteRelatedContentEntities public function Delete submissions related to a revision.
WebformRevisionsConfigTrait::revisioned_entity public function Get the entity that actually has revisions.