/**
 * Set Up the workflow
 *
 * @param   string  $extension  The option and section separated by.
 *
 * @return  void
 *
 * @since   4.0.0
 */
public function setUpWorkflow($extension)
{
    $parts = explode('.', $extension);
    $this->extension = array_shift($parts);
    if (count($parts)) {
        $this->section = array_shift($parts);
    }
    $this->workflow = new Workflow($extension);
    $params = ComponentHelper::getParams($this->extension);
    $this->workflowEnabled = $params->get('workflow_enabled');
    $this->enableWorkflowBatch();
}