Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search 11.x for all
  6. Other projects
Title Object type File name Summary
WorkspaceProviderBase::entityUpdate function core/modules/workspaces/src/Provider/WorkspaceProviderBase.php Acts after an entity has been updated.
WorkspaceProviderBase::__construct function core/modules/workspaces/src/Provider/WorkspaceProviderBase.php
WorkspaceProviderCollector class core/modules/workspaces/src/Provider/WorkspaceProviderCollector.php Defines the workspace provider collector.
WorkspaceProviderCollector.php file core/modules/workspaces/src/Provider/WorkspaceProviderCollector.php
WorkspaceProviderCollector::getProvider function core/modules/workspaces/src/Provider/WorkspaceProviderCollector.php Gets the workspace provider for the given ID.
WorkspaceProviderCollector::__construct function core/modules/workspaces/src/Provider/WorkspaceProviderCollector.php
WorkspaceProviderInterface interface core/modules/workspaces/src/Provider/WorkspaceProviderInterface.php Provides the interface for workspace providers.
WorkspaceProviderInterface.php file core/modules/workspaces/src/Provider/WorkspaceProviderInterface.php
WorkspaceProviderInterface::checkAccess function core/modules/workspaces/src/Provider/WorkspaceProviderInterface.php Checks access for a given workspace.
WorkspaceProviderInterface::entityCreate function core/modules/workspaces/src/Provider/WorkspaceProviderInterface.php Acts before an entity is created.
WorkspaceProviderInterface::entityDelete function core/modules/workspaces/src/Provider/WorkspaceProviderInterface.php Acts after an entity has been deleted.
WorkspaceProviderInterface::entityInsert function core/modules/workspaces/src/Provider/WorkspaceProviderInterface.php Acts after an entity has been added.
WorkspaceProviderInterface::entityPredelete function core/modules/workspaces/src/Provider/WorkspaceProviderInterface.php Acts before an entity is deleted.
WorkspaceProviderInterface::entityPreload function core/modules/workspaces/src/Provider/WorkspaceProviderInterface.php Acts before an entity is loaded.
WorkspaceProviderInterface::entityPresave function core/modules/workspaces/src/Provider/WorkspaceProviderInterface.php Acts before an entity is saved.
WorkspaceProviderInterface::entityRevisionDelete function core/modules/workspaces/src/Provider/WorkspaceProviderInterface.php Acts after an entity revision has been deleted.
WorkspaceProviderInterface::entityTranslationInsert function core/modules/workspaces/src/Provider/WorkspaceProviderInterface.php Acts after an entity translation has been added.
WorkspaceProviderInterface::entityUpdate function core/modules/workspaces/src/Provider/WorkspaceProviderInterface.php Acts after an entity has been updated.
WorkspaceProviderInterface::getId function core/modules/workspaces/src/Provider/WorkspaceProviderInterface.php Gets the ID of the workspace provider.
WorkspacePublisher class core/modules/workspaces/src/WorkspacePublisher.php Default implementation of the workspace publisher.
WorkspacePublisher.php file core/modules/workspaces/src/WorkspacePublisher.php
WorkspacePublisher::checkConflictsOnTarget function core/modules/workspaces/src/WorkspacePublisher.php Checks if there are any conflicts between the source and the target.
WorkspacePublisher::getDifferringRevisionIdsOnSource function core/modules/workspaces/src/WorkspacePublisher.php Gets the revision identifiers for items which have changed on the source.
WorkspacePublisher::getDifferringRevisionIdsOnTarget function core/modules/workspaces/src/WorkspacePublisher.php Gets the revision identifiers for items which have changed on the target.
WorkspacePublisher::getNumberOfChangesOnSource function core/modules/workspaces/src/WorkspacePublisher.php Gets the total number of items which have changed on the source.
WorkspacePublisher::getNumberOfChangesOnTarget function core/modules/workspaces/src/WorkspacePublisher.php Gets the total number of items which have changed on the target.
WorkspacePublisher::getSourceLabel function core/modules/workspaces/src/WorkspacePublisher.php Returns the human-readable label of the source.
WorkspacePublisher::getTargetLabel function core/modules/workspaces/src/WorkspacePublisher.php Returns the human-readable label of the target.
WorkspacePublisher::publish function core/modules/workspaces/src/WorkspacePublisher.php Publishes the contents of a workspace to the default (Live) workspace.
WorkspacePublisher::__construct function core/modules/workspaces/src/WorkspacePublisher.php
WorkspacePublisherInterface interface core/modules/workspaces/src/WorkspacePublisherInterface.php Defines an interface for the workspace publisher.
WorkspacePublisherInterface.php file core/modules/workspaces/src/WorkspacePublisherInterface.php
WorkspacePublisherInterface::publish function core/modules/workspaces/src/WorkspacePublisherInterface.php Publishes the contents of a workspace to the default (Live) workspace.
WorkspacePublisherTest class core/modules/workspaces/tests/src/Kernel/WorkspacePublisherTest.php Tests workspace publishing.
WorkspacePublisherTest.php file core/modules/workspaces/tests/src/Kernel/WorkspacePublisherTest.php
WorkspacePublisherTest::$entityTypeManager property core/modules/workspaces/tests/src/Kernel/WorkspacePublisherTest.php The entity type manager.
WorkspacePublisherTest::$modules property core/modules/workspaces/tests/src/Kernel/WorkspacePublisherTest.php Modules to install.
WorkspacePublisherTest::$nodePresaveCount property core/modules/workspaces/tests/src/Kernel/WorkspacePublisherTest.php The number of times node_presave has fired since arming.
WorkspacePublisherTest::$throwOnNodePresaveClass property core/modules/workspaces/tests/src/Kernel/WorkspacePublisherTest.php The class to throw during node presave, or empty string to skip.
WorkspacePublisherTest::nodePresave function core/modules/workspaces/tests/src/Kernel/WorkspacePublisherTest.php Implements hook_ENTITY_TYPE_presave() for the 'node' entity type.
WorkspacePublisherTest::providerPublishThrowableRollback function core/modules/workspaces/tests/src/Kernel/WorkspacePublisherTest.php Data provider for ::testPublishThrowableRollback().
WorkspacePublisherTest::register function core/modules/workspaces/tests/src/Kernel/WorkspacePublisherTest.php Registers test-specific services.
WorkspacePublisherTest::setUp function core/modules/workspaces/tests/src/Kernel/WorkspacePublisherTest.php
WorkspacePublisherTest::testPublishingChangedTime function core/modules/workspaces/tests/src/Kernel/WorkspacePublisherTest.php Tests that publishing a workspace updates the changed time of its entities.
WorkspacePublisherTest::testPublishThrowableRollback function core/modules/workspaces/tests/src/Kernel/WorkspacePublisherTest.php Tests that a throwable during publish is logged and rolls back the save.
WorkspacePublisherTest::testSubmitFormWithException function core/modules/workspaces/tests/src/Kernel/WorkspacePublisherTest.php Tests submit form with exception.
WorkspacePublishEvent class core/modules/workspaces/src/Event/WorkspacePublishEvent.php Defines the workspace publish event.
WorkspacePublishEvent.php file core/modules/workspaces/src/Event/WorkspacePublishEvent.php
WorkspacePublishEvent::$publishedRevisionIds property core/modules/workspaces/src/Event/WorkspacePublishEvent.php The IDs of the entities that are being published.
WorkspacePublishEvent::$publishingStopped property core/modules/workspaces/src/Event/WorkspacePublishEvent.php Whether an event subscriber requested the publishing to be stopped.

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