Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How will you create custom entity?



How will you create custom entity?..

Answer / Gauraw Kumar Vaidya

To create a custom entity in Drupal, follow these steps:n1. Install the Entity Construction Kit (ECK) module.n2. Enable ECK and its dependencies.n3. Create a custom content type using the Content Type API or by extending one of the existing base content types.n4. Define fields for your custom content type using the Field API.n5. Implement hooks like hook_entity_base_field_info(), hook_entity_construct(), etc., as needed.n6. Save and test your custom entity.n

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Drupal Interview Questions

Name and describe the five conceptual layers in a drupal system.

1 Answers  


What is a patch?

1 Answers  


How to find if the page is served from varnish cache?

1 Answers  


Which are the files in a typical drupal theme?

1 Answers  


What is a patch in drupal ?

1 Answers  


What is difference between template and theme?

1 Answers  


How to remove breadcrumbs from my drupal pages?

1 Answers  


What is Drupal invoice generation?

1 Answers  


What is relationship in views?

1 Answers  


What is entity api ? Have you installed and worked on this module ?

1 Answers  


How cache_form table works?

1 Answers  


What are the steps for launching a drupal site?

1 Answers  


Categories