You are here

Classes, traits, and interfaces in Preview Link 2.0.x

Primary tabs

Namesort descending Type Namespace Location Description Direct uses Use statements Strings
PreviewEnabledAccessCheck class Drupal\preview_link\Access src/Access/PreviewEnabledAccessCheck.php Preview link access check. 2
PreviewLink class Drupal\preview_link\Entity src/Entity/PreviewLink.php Defines the node entity class. 10
PreviewLinkAccessCheck class Drupal\preview_link\Access src/Access/PreviewLinkAccessCheck.php Preview link access check. 2
PreviewLinkAccessTest class Drupal\Tests\preview_link\Functional tests/src/Functional/PreviewLinkAccessTest.php Test access to preview pages with valid/invalid tokens.
PreviewLinkAccessTest class Drupal\Tests\preview_link\Kernel tests/src/Kernel/PreviewLinkAccessTest.php Test preview link access.
PreviewLinkBase abstract class Drupal\Tests\preview_link\Kernel tests/src/Kernel/PreviewLinkBase.php Base class for preview link testing. 4
PreviewLinkCacheContext class Drupal\preview_link src/PreviewLinkCacheContext.php Defines a class for a preview link cache context. 2
PreviewLinkCanonicalRerouteAccessCheck class Drupal\preview_link\Access src/Access/PreviewLinkCanonicalRerouteAccessCheck.php Reroutes users from a canonical route to preview link route. 2
PreviewLinkEntitiesUniqueConstraint class Drupal\preview_link\Plugin\Validation\Constraint src/Plugin/Validation/Constraint/PreviewLinkEntitiesUniqueConstraint.php Ensures each entity is referenced at most once.
PreviewLinkEntitiesUniqueConstraintValidator class Drupal\preview_link\Plugin\Validation\Constraint src/Plugin/Validation/Constraint/PreviewLinkEntitiesUniqueConstraintValidator.php Validates the PreviewLinkEntitiesUniqueConstraint constraint.
PreviewLinkEntityTest class Drupal\Tests\preview_link\Kernel tests/src/Kernel/PreviewLinkEntityTest.php Preview link session test.
PreviewLinkExpiry class Drupal\preview_link src/PreviewLinkExpiry.php Calculates link expiry time. 2
PreviewLinkExpiryTest class Drupal\Tests\preview_link\Kernel tests/src/Kernel/PreviewLinkExpiryTest.php Preview link expiry test.
PreviewLinkForwardRevisionTest class Drupal\Tests\preview_link\Functional tests/src/Functional/PreviewLinkForwardRevisionTest.php Test forward revisions are loaded.
PreviewLinkHost class Drupal\preview_link src/PreviewLinkHost.php Service for relationships between preview links and entities they unlock. 2
PreviewLinkHostInterface interface Drupal\preview_link src/PreviewLinkHostInterface.php Interface for relationships between preview links and entities they unlock. 1 2
PreviewLinkInterface interface Drupal\preview_link\Entity src/Entity/PreviewLinkInterface.php Interface for the preview link entity. 1 2
PreviewLinkNodeTest class Drupal\Tests\preview_link\Functional tests/src/Functional/PreviewLinkNodeTest.php Tests nodes are referencable.
PreviewLinkRerouteException class Drupal\preview_link\Exception src/Exception/PreviewLinkRerouteException.php Exception thrown when an entity needs to redirect to a preview link. 2
PreviewLinkRouteEventSubscriber class Drupal\preview_link\EventSubscriber src/EventSubscriber/PreviewLinkRouteEventSubscriber.php Modifies canonical entity routing to redirect to preview link. 2
PreviewLinkRouteProvider class Drupal\preview_link\Routing src/Routing/PreviewLinkRouteProvider.php Preview Link route provider. 1
PreviewLinkRoutes class Drupal\preview_link\Routing src/Routing/PreviewLinkRoutes.php Alters routes to add access checker to canonical entity type routes. 2
PreviewLinkSelection final class Drupal\preview_link\Plugin\EntityReferenceSelection src/Plugin/EntityReferenceSelection/PreviewLinkSelection.php Provides specific access control for the node entity type.
PreviewLinkSessionExistsAccessCheck class Drupal\preview_link\Access src/Access/PreviewLinkSessionExistsAccessCheck.php Checks whether the user has a session. 2
PreviewLinkSessionTokenTest class Drupal\Tests\preview_link\Functional tests/src/Functional/PreviewLinkSessionTokenTest.php Tests tokens claimed against sessions.
PreviewLinkSessionTokenUpdateTest class Drupal\Tests\preview_link\Functional\Update tests/src/Functional/Update/PreviewLinkSessionTokenUpdateTest.php Tests upgrade path adding Preview Link session functionality.
PreviewLinkStorageInterface interface Drupal\preview_link src/PreviewLinkStorageInterface.php Interface for Preview Link entities. 1
PreviewLinkStorageTest class Drupal\Tests\preview_link\Kernel tests/src/Kernel/PreviewLinkStorageTest.php Preview link session test.
PreviewLinkTest class Drupal\Tests\preview_link\Functional tests/src/Functional/PreviewLinkTest.php Integration test for the preview link.
PreviewLinkUtility class Drupal\preview_link src/PreviewLinkUtility.php Preview link utility. 2
StateLogger final class Drupal\preview_link_test tests/modules/preview_link_test/src/StateLogger.php Sends logs to state. 2
TimeMachine class Drupal\preview_link_test_time tests/modules/preview_link_test_time/src/TimeMachine.php Service used to simulate time. 1 2

Other projects