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
/
lib
/
Drupal
/
Core
/
Entity
/
EntityCreateAccessCheck.php
diff --git
a/web/core/lib/Drupal/Core/Entity/EntityCreateAccessCheck.php
b/web/core/lib/Drupal/Core/Entity/EntityCreateAccessCheck.php
index 9ceac5249d056271df3dd64eadae999c3bfc153b..b3c12a8da803867e73f099b42413c69ce82641f2 100644
(file)
--- a/
web/core/lib/Drupal/Core/Entity/EntityCreateAccessCheck.php
+++ b/
web/core/lib/Drupal/Core/Entity/EntityCreateAccessCheck.php
@@
-62,7
+62,7
@@
class EntityCreateAccessCheck implements AccessInterface {
}
// If we were unable to replace all placeholders, deny access.
if (strpos($bundle, '{') !== FALSE) {
}
// If we were unable to replace all placeholders, deny access.
if (strpos($bundle, '{') !== FALSE) {
- return AccessResult::neutral();
+ return AccessResult::neutral(
sprintf("Could not find '%s' request argument, therefore cannot check create access.", $bundle)
);
}
}
return $this->entityManager->getAccessControlHandler($entity_type)->createAccess($bundle, $account, [], TRUE);
}
}
return $this->entityManager->getAccessControlHandler($entity_type)->createAccess($bundle, $account, [], TRUE);