
Drupal 8 Entity reference blocks: restricted access (Eingeschränkter Zugriff)
You're referencing a Drupal 8 block via block reference but after saving the entity reference input field says "restricted access" (German: "Eingeschränkter Zugriff")? That's simple to solve... and "works as designed".
The reason is simple: Drupal correctly checks for access permissions on the block. But perhaps you've put the block into the "disabled" block region, because you don't want to output it normally.
So how to fix it:
- Create a new region in your theme, which you do "not" output in you templates. Name it as you want, for example "Usable (hidden)".
- Move the blocks to that region (from disabled).
Now you can reference the blocks without restricted access message.
Please leave a comment if that helped you.
Julian Pustkuchen, M. Sc. Wirtschaftsinformatik ist passionierter Software- & Webentwickler mit den Schwerpunkten Softwaredesign, Objektorientierung sowie Usability- & Ablaufoptimierung bei webks. Ein weiterer Schwerpunkt ist die Entwicklung im CMS Drupal.
Entwickelt Julian gerade keine Software, fährt er Ski, Mountainbike, spielt Badminton, segelt oder verbringt Zeit mit Freunden.
Dieser Blog dient als sein "öffentlicher Notizblo(ck/g)".
Euch gefällt mein Blog?
Vielleicht hilft mir auch ein Buch, euch zukünftig (noch) bessere Artikel zu bieten? (Amazon Wunschliste)
Gerne bewerte ich auch ab und zu einmal unabhängig ein Produkt.
Ich freue mich über jede Art der Unterstützung in Form von Kommentaren, Lob oder Kritik.
Auf zum Kontaktformular!
Zu meinem Google+ Profil
Webbasierte Lösungen? Machen wir!
webks: websolutions kept simple
http://www.webks.de
Tags in Blogeintrag - Kategorie
Dir hat dieser Beitrag geholfen?
Oder du suchst weitere professionelle Unterstützung? Unser Team bietet dir professionelle Dienstleistungen im Web-Development und Drupal CMS Entwicklung!
Kommentare
Kommentar hinzufügen