Viewing posts tagged Entities

Podcast Episode 18: The Mysterious Drupal Entity

This Friday's podcast, The Mysterious Drupal Entity has Kyle, Joe, and Blake joined by Greg Dunlap to talk about Drupal entities. What are they? Why do we have them? What do they look like in Drupal 8? We look at it from both the developer and site builder sides to try and get a grip on a topic that leaves a lot of people scratching their heads.

Release Day: Finishing up the Entity Series

Well, today we finally wrap up our custom entity we've been working with in the Working with Entities in Drupal 7 series. To finish things up, we will be improving our entity property information, so that other parts of Drupal, like Views, can really make the best use of the data we have to present. We'll also explore entity metadata wrappers, which will make it much easier for us, and others, to get access to the info about our entities.

Release Day: Entities, Views, and a Better UI

This week in the Working with Entities in Drupal 7 series we work on ways to expand how the content is output by working with Drupal view modes (like full, teaser, RSS, etc.), and integrating our entity with the Views module. With these pieces in place, we turn back to our administrative interface, to clean that up a bit by overriding the default UI Controller to customize our UI.

Release Day: Entity Admin UI and Fields

This week's installment of the Working with Entities in Drupal 7 series picks up the work on our new custom entity to work on creating an administrative UI, then dive into more nitty gritty with the entity controller. We'll look at how you can override the default controller to gain more control over how your entity gets rendered, and to add some of our own tweaks to the save processing. We wrap this week up by making our entity fieldable by using bundles.

Release Day: Creating a Custom Entity

This week we move on in our Working with Entities in Drupal 7 series to beginning to create our own custom entity. We start by sketching out the use case we will be tackling in this series, which will be to create a video entity, and look at why we want this to be a custom entity instead of a using Drupal's existing node entity. Then we dive into setting up the basics of our entity, and getting an introduction to the entity classes we will be using.

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.