Entity management

In practice, different entity types will frequently need a different workflow for creating, editing, and deleting entities. Some may not even be editable through the UI. To keep things simple for now, though, we'll stick with the familiar node workflow and replicate that, more or less.

Because there are several parts, we'll tackle them one at a time:

  1. Create an administrative workflow for managing artwork types.
  2. Create pages to add and edit artworks.
  3. Create a page to view artworks.
  4. Create a form for deleting artworks.

Managing artwork types

We'll start with a stub of an admin section for managing artwork types. Although we will not allow users to create new artwork types we still need to have at least a very minimal administrative section ...

Get Drupal 7 Module Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.