projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
web
/
core
/
modules
/
content_moderation
/
src
/
Access
/
LatestRevisionCheck.php
diff --git
a/web/core/modules/content_moderation/src/Access/LatestRevisionCheck.php
b/web/core/modules/content_moderation/src/Access/LatestRevisionCheck.php
index e1719396d40d30f3592828892c3a7994defa593c..e470237448e9f8ba8097564b946380a0cdf4a335 100644
(file)
--- a/
web/core/modules/content_moderation/src/Access/LatestRevisionCheck.php
+++ b/
web/core/modules/content_moderation/src/Access/LatestRevisionCheck.php
@@
-68,7
+68,7
@@
class LatestRevisionCheck implements AccessInterface {
return $access_result->addCacheableDependency($entity);
}
- return AccessResult::forbidden()->addCacheableDependency($entity);
+ return AccessResult::forbidden(
'No pending revision for moderated entity.'
)->addCacheableDependency($entity);
}
/**