Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 10.3.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
EntityRevision.php file core/modules/migrate/src/Plugin/migrate/destination/EntityRevision.php
EntityRevision::getEntity function core/modules/migrate/src/Plugin/migrate/destination/EntityRevision.php Gets the entity.
EntityRevision::getEntity function core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php Allow public access for testing.
EntityRevision::getHighestId function core/modules/migrate/src/Plugin/migrate/destination/EntityRevision.php Returns the highest ID tracked by the implementing plugin.
EntityRevision::getIds function core/modules/migrate/src/Plugin/migrate/destination/EntityRevision.php Gets the destination IDs.
EntityRevision::save function core/modules/migrate/src/Plugin/migrate/destination/EntityRevision.php Saves the entity.
EntityRevision::save function core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php Allow public access for testing.
EntityRevision::updateEntity function core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php Don't test method from base class.
EntityRevision::__construct function core/modules/migrate/src/Plugin/migrate/destination/EntityRevision.php Constructs a content entity.
EntityRevisionConverter class core/modules/content_moderation/src/ParamConverter/EntityRevisionConverter.php Defines a class for making sure the edit-route loads the current draft.
EntityRevisionConverter.php file core/modules/content_moderation/src/ParamConverter/EntityRevisionConverter.php
EntityRevisionConverter::convert function core/modules/content_moderation/src/ParamConverter/EntityRevisionConverter.php Converts path variables to their corresponding objects.
EntityRevisionConverterTest class core/modules/content_moderation/tests/src/Kernel/EntityRevisionConverterTest.php @coversDefaultClass \Drupal\content_moderation\ParamConverter\EntityRevisionConverter[[api-linebreak]]
@group content_moderation
@group legacy
EntityRevisionConverterTest.php file core/modules/content_moderation/tests/src/Kernel/EntityRevisionConverterTest.php
EntityRevisionConverterTest::$modules property core/modules/content_moderation/tests/src/Kernel/EntityRevisionConverterTest.php Modules to enable.
EntityRevisionConverterTest::setUp function core/modules/content_moderation/tests/src/Kernel/EntityRevisionConverterTest.php
EntityRevisionConverterTest::testDeprecatedLoadPendingRevisionFlag function core/modules/content_moderation/tests/src/Kernel/EntityRevisionConverterTest.php @covers ::convert[[api-linebreak]]
@expectedDeprecationMessage The load_pending_revision flag has been deprecated. You should use load_latest_revision instead.
EntityRevisionParamConverter class core/lib/Drupal/Core/ParamConverter/EntityRevisionParamConverter.php Parameter converter for upcasting entity revision IDs to full objects.
EntityRevisionParamConverter.php file core/lib/Drupal/Core/ParamConverter/EntityRevisionParamConverter.php
EntityRevisionParamConverter::$entityRepository property core/lib/Drupal/Core/ParamConverter/EntityRevisionParamConverter.php The entity repository.
EntityRevisionParamConverter::$entityTypeManager property core/lib/Drupal/Core/ParamConverter/EntityRevisionParamConverter.php The entity type manager.
EntityRevisionParamConverter::applies function core/lib/Drupal/Core/ParamConverter/EntityRevisionParamConverter.php Determines if the converter applies to a specific route and variable.
EntityRevisionParamConverter::convert function core/lib/Drupal/Core/ParamConverter/EntityRevisionParamConverter.php Converts path variables to their corresponding objects.
EntityRevisionParamConverter::__construct function core/lib/Drupal/Core/ParamConverter/EntityRevisionParamConverter.php Creates a new EntityRevisionParamConverter instance.
EntityRevisionParamConverterTest class core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php @coversDefaultClass \Drupal\Core\ParamConverter\EntityRevisionParamConverter[[api-linebreak]]
@group entity
EntityRevisionParamConverterTest.php file core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php
EntityRevisionParamConverterTest::$converter property core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php The tested entity revision param converter.
EntityRevisionParamConverterTest::getTestRoute function core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php
EntityRevisionParamConverterTest::providerTestConvert function core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php Provides test data for testConvert
EntityRevisionParamConverterTest::setUp function core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php
EntityRevisionParamConverterTest::testApplyingRoute function core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php @covers ::applies[[api-linebreak]]
EntityRevisionParamConverterTest::testConvert function core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php Tests the convert() method.
EntityRevisionParamConverterTest::testConvertWithInvalidDynamicEntityType function core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php Tests the convert() method with an invalid dynamic entity type ID.
EntityRevisionParamConverterTest::testConvertWithInvalidEntityType function core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php Tests the convert() method with an invalid entity type ID.
EntityRevisionParamConverterTest::testConvertWithInvalidType function core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php Tests the convert() method with an invalid dynamic entity type ID.
EntityRevisionParamConverterTest::testNonApplyingRoute function core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php @covers ::applies[[api-linebreak]]
EntityRevisionRouteEnhancer class core/lib/Drupal/Core/Routing/Enhancer/EntityRevisionRouteEnhancer.php Adds _entity_revision to the request attributes, if possible.
EntityRevisionRouteEnhancer.php file core/lib/Drupal/Core/Routing/Enhancer/EntityRevisionRouteEnhancer.php
EntityRevisionRouteEnhancer::applies function core/lib/Drupal/Core/Routing/Enhancer/EntityRevisionRouteEnhancer.php Returns whether the enhancer runs on the current route.
EntityRevisionRouteEnhancer::enhance function core/lib/Drupal/Core/Routing/Enhancer/EntityRevisionRouteEnhancer.php
EntityRevisionRouteEnhancerTest class core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php @coversDefaultClass \Drupal\Core\Routing\Enhancer\EntityRevisionRouteEnhancer[[api-linebreak]]
@group Entity
EntityRevisionRouteEnhancerTest.php file core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php
EntityRevisionRouteEnhancerTest::$routeEnhancer property core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php
EntityRevisionRouteEnhancerTest::setUp function core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php
EntityRevisionRouteEnhancerTest::testEnhanceWithEntityRevision function core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php @covers ::enhance[[api-linebreak]]
EntityRevisionRouteEnhancerTest::testEnhanceWithoutEntityRevision function core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php @covers ::enhance[[api-linebreak]]
EntityRevisionRouteEnhancerTest::testEnhanceWithoutParameter function core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php @covers ::enhance[[api-linebreak]]
EntityRevisionsTest class core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionsTest.php Tests the loaded Revision of an entity.
EntityRevisionsTest class core/modules/system/tests/src/Functional/Entity/EntityRevisionsTest.php Create a entity with revisions and test viewing, saving, reverting, and
deleting revisions.
EntityRevisionsTest.php file core/modules/system/tests/src/Functional/Entity/EntityRevisionsTest.php

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.