@@ -73,7 +73,7 @@ class ContentAccessAdminSettingsForm extends FormBase {
'#title'=>t('Per content node access control settings'),
'#collapsible'=>TRUE,
'#description'=>t('Optionally you can enable per content node access control settings. If enabled, a new tab for the content access settings appears when viewing content. You have to configure permission to access these settings at the @permissions page.',[
drupal_set_message(t("Warning: Your content is not published, so this settings are not taken into account as long as the content remains unpublished."),'error');
$this->messenger()->addError(t("Warning: Your content is not published, so this settings are not taken into account as long as the content remains unpublished."));
}
return$form;
@@ -124,7 +124,7 @@ class ContentAccessPageForm extends FormBase {