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. Through the rest of this series we will continue to build upon this new entity.

Check in next week as we move forward with an administrative UI and working with fields and bundles.

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