summaryrefslogtreecommitdiffstats
path: root/core/modules/content_moderation/src/Entity
diff options
context:
space:
mode:
authorNathaniel Catchpole2017-01-25 13:39:38 (GMT)
committerNathaniel Catchpole2017-01-25 13:39:38 (GMT)
commitd8c19835a473d8c6136a0d54d6a87d44d86eab11 (patch)
treeb2fcffa1dafb074725993becd47134d53eb61f6a /core/modules/content_moderation/src/Entity
parent80ffa8c7c900173ac34082abb1af809dacdcf187 (diff)
Issue #2846013 by Sam152: Use consistent case for the word "workflow" in content_moderation
Diffstat (limited to 'core/modules/content_moderation/src/Entity')
-rw-r--r--core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php b/core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php
index 76f00e0..53bb80a 100644
--- a/core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php
+++ b/core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php
@@ -54,7 +54,7 @@ class NodeModerationHandler extends ModerationHandler {
/* @var \Drupal\node\Entity\NodeType $entity */
$entity = $form_state->getFormObject()->getEntity();
- if ($this->moderationInfo->getWorkFlowForEntity($entity)) {
+ if ($this->moderationInfo->getWorkflowForEntity($entity)) {
// Force the revision checkbox on.
$form['workflow']['options']['#default_value']['revision'] = 'revision';
$form['workflow']['options']['revision']['#disabled'] = TRUE;