PHP Class Neos\Neos\Service\PublishingService

Inheritance: extends Neos\ContentRepository\Domain\Service\PublishingService
Afficher le fichier Open project: neos/neos-development-collection Class Usage Examples

Méthodes publiques

Méthode Description
publishNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node, Workspace $targetWorkspace = null ) : void Publishes the given node to the specified target workspace. If no workspace is specified, the base workspace is assumed.

Method Details

publishNode() public méthode

If the given node is a Document or has ContentCollection child nodes, these nodes are published as well.
public publishNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node, Workspace $targetWorkspace = null ) : void
$node Neos\ContentRepository\Domain\Model\NodeInterface
$targetWorkspace Neos\ContentRepository\Domain\Model\Workspace If not set the base workspace is assumed to be the publishing target
Résultat void