O'Reilly logo

Drupal 7 Module Development by Ken Rickard, John Wilkins, Larry Garfield, Matt Butcher, Greg Dunlap, Matt Farina

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required