Accessing and Working with Entities
In this chapter, we will go through the create, read, update, and delete (CRUD) operations of working with entities in Drupal. We will create a series of routes to create, read, update, and delete nodes that are articles.
In this chapter, we will cover the following:
- Creating and saving an entity
- Querying and loading entities
- Checking entity access
- Updating an entity’s field values
- Performing entity validation
- Deleting an entity