Commit 1e3b2883 authored by Crell's avatar Crell

Add help text for the transition list page.

parent 0eb0d45a
......@@ -73,4 +73,19 @@ class ModerationStateTransitionListBuilder extends DraggableListBuilder {
return $row + parent::buildRow($entity);
* {@inheritdoc}
public function render() {
$build = parent::render(); // TODO: Change the autogenerated stub
$build['item'] = [
'#type' => 'item',
'#markup' => $this->t('When saving an entity, only a destination state that has a transition is legal. That includes its current state. If you want to allow an entity to be saved without changing its state then you must define a transition from that state to itself. Note that all users will still need permission to use a defined transition.'),
'#weight' => -5,
return $build;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment