Back to WorkflowBehaviorTrait class

Method enableWorkflowBatch

protected void
enableWorkflowBatch
()
Add the workflow batch to the command list. Can be overwritten bei the child class
Returns
  • void
Since
  • 4.0.0

Method enableWorkflowBatch - Source code

/**
 * Add the workflow batch to the command list. Can be overwritten bei the child class
 *
 * @return  void
 *
 * @since   4.0.0
 */
protected function enableWorkflowBatch()
{
    // Enable batch
    if ($this->workflowEnabled && property_exists($this, 'batch_commands')) {
        $this->batch_commands['workflowstage_id'] = 'batchWorkflowStage';
    }
}