AutoPublishCommand

class \TYPO3\CMS\Workspaces\Command\AutoPublishCommand

Extends
Command

Call on the workspace logic to publish workspaces whose publication date is in the past.

Attributes

#[AsCommand]
'workspace:autopublish'
'Publish a workspace with a publication date.'

Table of Contents

Methods

__construct()  : mixed
configure()  : void
Configuring the command options
execute()  : int
Executes the command to find versioned records
getAffectedWorkspacesToPublish()  : Result
Fetch all sys_workspace records which could fit

Methods

configure()

Configuring the command options

protected configure() : void

execute()

Executes the command to find versioned records

protected execute(InputInterface $input, OutputInterface $output) : int

Parameters

$input : InputInterface
$output : OutputInterface

Return values

int

getAffectedWorkspacesToPublish()

Fetch all sys_workspace records which could fit

protected getAffectedWorkspacesToPublish() : Result

Return values

Result
On this page