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

Issue #3428997 by Project Update Bot: Automated Drupal 11 compatibility fixes...

Issue #3428997 by Project Update Bot: Automated Drupal 11 compatibility fixes for block_condition_published
parent 0e99d049
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ state _Published_ is treated as published content.
REQUIREMENTS
------------
Drupal ^9 || ^10
Drupal ^9 || ^10 || ^ 11
INSTALLATION
------------
......
name: 'Block Condition Published'
type: module
description: 'Allows to display block on pages depending on published status.'
core_version_requirement: ^9 || ^10
core_version_requirement: ^9 || ^10 || ^11
package: Other
......@@ -102,7 +102,7 @@ class NodePublishedState extends ConditionPluginBase implements ContainerFactory
if (!empty($this->configuration['negate'])) {
return $this->t('The published state is not @state', ['@state' => $status]);
}
return $this->t('The moderation state is @state', ['@state' => $status]);
return $this->t('The published state is @state', ['@state' => $status]);
}
/**
......
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