ECK for Site Builders

ECK wants to make creating entities and using the entity system as easy as possible. For this, it exposes many tasks like creating and managing entity types, bundles and entities through the UI. Because ECK is a new project, there are a few things that might not be very intuitive when dealing with the UI. We obviously want to correct these things but, until then, we will try to expose everything in as clear a way as possible through this documentation.

Also, at the beginning of this documentation we gave an example to explain the terminology of Drupal's entity system. We will demonstrate all of the capabilities of ECK by implementing the example.

*NOTE: Please at least checkout the naming conventions section before creating your entities to be aware of potential conflicts.

Adding Properties to an Entity Type

After creating the entity type "vehicle" as defined in our example, we can add the necessary properties.

Naming conventions

When it comes to entity labels, there are no worries. However, take special care when choosing your ECK entity's 'machine name'. ECK will

Renaming entity properties

Yes, you can change the label of any property. This is how you do it:

Working with Entity Types

In our example, we are trying to create a site where we will have vehicle listings. For that purpose we needed an entity type to store our

Guide maintainers

fmizzell's picture