WorkspacePublisherInterface.php

Same filename and directory in other branches
  1. 9 core/modules/workspaces/src/WorkspacePublisherInterface.php
  2. 8.9.x core/modules/workspaces/src/WorkspacePublisherInterface.php
  3. 10 core/modules/workspaces/src/WorkspacePublisherInterface.php

Namespace

Drupal\workspaces

File

core/modules/workspaces/src/WorkspacePublisherInterface.php

View source
<?php

namespace Drupal\workspaces;


/**
 * Defines an interface for the workspace publisher.
 *
 * @internal
 */
interface WorkspacePublisherInterface extends WorkspaceOperationInterface {
    
    /**
     * Publishes the contents of a workspace to the default (Live) workspace.
     */
    public function publish();

}

Interfaces

Title Deprecated Summary
WorkspacePublisherInterface Defines an interface for the workspace publisher.

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