Home / Drupal 8 Preview: What You Need to Know about Entity and Field APIs [December 17, 2013]

Drupal 8 Preview: What You Need to Know about Entity and Field APIs [December 17, 2013]

Drupal 8 Preview: What You Need to Know about Entity and Field APIs [December 17, 2013]

Want to learn more about Acquia’s products, services, and happenings in the Drupal Community? Visit our site: http://bit.ly/yLaHO5.

Possibly the most significant change from Drupal 7 to Drupal 8 for module developers is Drupal core's full embracing of OOP. Possibly the most significant change for site builders and maintainers will be Drupal's separation of configuration from the database. Together, these two changes have resulted in a complete reconceptualization and rewrite of Drupal's Entity and Field APIs, with quite a bit of that rewrite still in progress. Although this means there's new stuff to learn, these new APIs have enabled far more consistency and code reuse throughout Drupal core, and hopefully will do the same for contrib.

In this webinar, we'll highlight the key concepts, interfaces, and classes that form these APIs, and show how modules can use them. In doing so, we'll explain:
• The similarities and differences between configuration entities and content entities.
• The similarities and differences between configurable fields and non-configurable fields.
• The lifecycle of an entity and the hooks invoked along the way.
• How to implement entity types, field types, and stuff that acts on them.

Category: 
Publish on date: 
Tuesday, December 17, 2013
Rating: 

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

Filtered HTML

  • Use [acphone_sales], [acphone_sales_text], [acphone_support], [acphone_international], [acphone_devcloud], [acphone_extra1] and [acphone_extra2] as placeholders for Acquia phone numbers. Add class "acquia-phones-link" to wrapper element to make number a link.
  • To post pieces of code, surround them with <code>...</code> tags. For PHP code, you can use <?php ... ?>, which will also colour it based on syntax.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <h4> <h5> <h2> <img>
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.