With Drupal (v7.22) I'm using the Entity Construction Kit (ECK) module (v7.x-2.0-rc2) and want to extend the sub module called 'ECK Example' that comes with it. Currently the example module just creates an Entity using code but doesn't include any default properties like Title, Author, Changed etc. This is the current module code:
$entity_type = new EntityType(); $entity_type->name = "eck_employee"; $entity_type->label = "Employee"; $entity_type->addProperty('name', 'Name', 'text'); $entity_type->save();
How can I enable the default properties for the Entity?