Skip to content

drupalcrunch/entity_workshop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Code generated for MADs about Drupal Entity Workshop. (http://groups.drupal.org/node/278673)

###Madrid, February 7, 2013###

You can download workshop slides from slideshare

This source code includes two features and a custom module, explained below:

  • feature_artwork: EntityFieldQuery examples of use
  • feature_multimedia: Import external content easily using entity_metadata_wrapper
  • example_task: How to create a new entity type, Entity translation integration and automatic field attachment. Code comes from Trellon blog.

This repo is structured as tags. Each tag is a different feature example:

  • entity_workshop-1: Basic EntityFieldQuery example
  • entity_workshop-2: Second EntityFieldQuery example and use of custom view_modes
  • entity_workshop-3: Add pager integration to EntityFieldQuery
  • entity_workshop-4: Add Tablesorting support for EntityFieldQuery
  • entity_workshop-5: Improve previous tag code using entity_metadata_wrapper (Entity module required)
  • entity_workshop-6: Generate content programmatically from external data using entity_metadata_wrapper
  • entity_workshop-7: Create new entity type example
  • entity_workshop-8: Add entity translation support for custom entity type
  • entity_workshop-9: Add field programmatically for new bundles, like body in content types. This example has a specific use case bug, can you find it? ;)
  • entity_workshop-10: Bug introduced in entity_workshop-9 fixed

About

MADs about Drupal entity workshop code

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 82.9%
  • SourcePawn 17.1%