New Series: Working with Entities in Drupal 7

This week we are kicking off a brand new series, Working with Entities in Drupal 7. Entities were introduced in Drupal 7, and are an extremely useful tool, though they have been somewhat confusing for people to work with. In this series we will start out by explaining what entities are, in addition to things like bundles, fields, and entity types. We then spend time understanding how you can use the Entity API to work with existing Drupal entities in you own custom module work. With that foundation in place, we will create a new custom entity and talk about when and why you may, or may not, want to do that.

To get things started off we will cover some terminology and history, with a free video, and then begin working with entity_load() and the EntityFieldQuery class to work with existing Drupal entities on your system.

This series assumes that you're already familiar with the basic tennents of writing modules for Drupal and makes use of things like hook_menu() without spending time explaining them. If you're not familiar with Drupal module development, you should brush up by watching our Module Development for Drupal 7 first.

Comments

Helo,
there are any video about working with entities without code?

Tank you.
Regards,
Sandra

This series is all code-related. Can you shoot us an email via our contact form and give us a bit more information about what you're looking for? Thanks!

Add new comment

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <code class> <ul type> <ol start type> <li> <dl> <dt> <dd><h3 id> <p>
  • Lines and paragraphs break automatically.

About us

Drupalize.Me is the best resource for learning Drupal online. We have an extensive library covering multiple versions of Drupal and we are the most accurate and up-to-date Drupal resource. Learn more