$container->
get('entity_type.bundle.info'
),
$container->
get('content_moderation.moderation_information'
) );
} /**
* {@inheritdoc}
*/
public function getState($state_id) { $state = parent::
getState($state_id);
if (isset($this->configuration
['states'
][$state->
id()]['published'
]) &&
isset($this->configuration
['states'
][$state->
id()]['default_revision'
])) { $state =
new ContentModerationState($state,
$this->configuration
['states'
][$state->
id()]['published'
],
$this->configuration
['states'
][$state->
id()]['default_revision'
]);
} else { $state =
new ContentModerationState($state);
} return $state;
} /**
* {@inheritdoc}
*/
public function workflowHasData(WorkflowInterface
$workflow) {