Search for publish

  1. Search 7.x for publish
  2. Search 9.5.x for publish
  3. Search 8.9.x for publish
  4. Search 11.x for publish
  5. Other projects
Title Object type File name Summary
WorkspacePublishEvent::isPublishingStopped function core/modules/workspaces/src/Event/WorkspacePublishEvent.php Determines whether a subscriber requested the publishing to be stopped.
WorkspacePublishEvent::setPublishingStoppedReason function core/modules/workspaces/src/Event/WorkspacePublishEvent.php Sets the reason for stopping the workspace publication.
WorkspacePublishEvent::stopPublishing function core/modules/workspaces/src/Event/WorkspacePublishEvent.php Signals that the workspace publishing should be aborted.
WorkspacePublishEvent::__construct function core/modules/workspaces/src/Event/WorkspacePublishEvent.php Constructs a new WorkspacePublishEvent.
WorkspacePublishException class core/modules/workspaces/src/WorkspacePublishException.php An exception thrown when a workspace can not be published.
WorkspacePublishException.php file core/modules/workspaces/src/WorkspacePublishException.php
WorkspacePublishForm class core/modules/workspaces/src/Form/WorkspacePublishForm.php Provides the workspace publishing form.
WorkspacePublishForm.php file core/modules/workspaces/src/Form/WorkspacePublishForm.php
WorkspacePublishForm::$entityTypeManager property core/modules/workspaces/src/Form/WorkspacePublishForm.php The entity type manager.
WorkspacePublishForm::$workspace property core/modules/workspaces/src/Form/WorkspacePublishForm.php The workspace that will be published.
WorkspacePublishForm::$workspaceOperationFactory property core/modules/workspaces/src/Form/WorkspacePublishForm.php The workspace operation factory.
WorkspacePublishForm::buildForm function core/modules/workspaces/src/Form/WorkspacePublishForm.php Form constructor.
WorkspacePublishForm::create function core/modules/workspaces/src/Form/WorkspacePublishForm.php Instantiates a new instance of this class.
WorkspacePublishForm::getCancelUrl function core/modules/workspaces/src/Form/WorkspacePublishForm.php Returns the route to go to if the user cancels the action.
WorkspacePublishForm::getDescription function core/modules/workspaces/src/Form/WorkspacePublishForm.php Returns additional text to display as a description.
WorkspacePublishForm::getFormId function core/modules/workspaces/src/Form/WorkspacePublishForm.php Returns a unique string identifying the form.
WorkspacePublishForm::getQuestion function core/modules/workspaces/src/Form/WorkspacePublishForm.php Returns the question to ask the user.
WorkspacePublishForm::submitForm function core/modules/workspaces/src/Form/WorkspacePublishForm.php Form submission handler.
WorkspacePublishForm::__construct function core/modules/workspaces/src/Form/WorkspacePublishForm.php Constructs a new WorkspacePublishForm.
WorkspacePublishFormTest class core/modules/workspaces/tests/src/Kernel/WorkspacePublishFormTest.php @coversDefaultClass \Drupal\workspaces\Form\WorkspacePublishForm
@group workspaces
WorkspacePublishFormTest.php file core/modules/workspaces/tests/src/Kernel/WorkspacePublishFormTest.php
WorkspacePublishFormTest::testSubmitFormWithException function core/modules/workspaces/tests/src/Kernel/WorkspacePublishFormTest.php @covers ::submitForm
WorkspaceSubscriber::onWorkspacePrePublish function core/modules/content_moderation/src/EventSubscriber/WorkspaceSubscriber.php Prevents a workspace from being published based on certain conditions.
WorkspaceTest::testPublishWorkspace function core/modules/workspaces/tests/src/Functional/WorkspaceTest.php Verifies that a workspace can be published.

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