Skip to content
Snippets Groups Projects
Commit 95babe8a authored by Nikolay Grachev's avatar Nikolay Grachev
Browse files

Issue #3497181 fix: Negate option is handled wrong

parent 347b93a1
No related branches found
No related tags found
No related merge requests found
......@@ -119,7 +119,7 @@ class NodePublishedState extends ConditionPluginBase implements ContainerFactory
if (empty($node)) {
// Ignore if node context isn't available.
return TRUE;
return !$this->isNegated();
}
/** @var \Drupal\node\NodeStorageInterface$node_storage */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment