Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Drupal 8 Blueprints

You're reading from   Drupal 8 Blueprints Step along the creation of 7 professional-grade Drupal sites

Arrow left icon
Product type Paperback
Published in Sep 2017
Publisher Packt
ISBN-13 9781785887567
Length 262 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Alex Burrows Alex Burrows
Author Profile Icon Alex Burrows
Alex Burrows
Arrow right icon
View More author details
Toc

Table of Contents (8) Chapters Close

1. Introduction and Getting Set Up 2. Telling Your Own Story with Drupal FREE CHAPTER 3. Get Fundraising with Drupal 4. Recruit Using Drupal 5. List Properties with Drupal 6. Express Your Event with Drupal 7. Get Teaching with Drupal 8. Go Static with Drupal

Summary

In this chapter, we have used our previous knowledge to build an event website using mostly Drupal 8.x core but also a few contrib modules (far fewer than the previous Drupal core versions) and one custom module.

We have looked at limiting field access to specific user roles. This will then give us greater control on who can do what, but also, it allows us to have all the fields we require in our entity types and not need to create a load of rules for them. This also means no need to use hook_form_alter(), which is easier for website builders.

Next, we moved onto user registration, again using our previous knowledge but also adding rules to what happens when a certain user logs in.

We added a custom rule in the code to our node creation form for our session submission so that our user can be added as a Speaker role.

You will have noticed how powerful Drupal 8.x core is...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime