Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Varbase FAQs 9.2.1 Minor update available for module varbase_faqs (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

CiviCRM Entity

1,811 sites Security covered
View on drupal.org

This module exposes CiviCRM data as Drupal entities, allowing Drupal modules and features like Views, Rules, and Entity Reference to work with CiviCRM contacts, events, and contributions. This enables developers to integrate CiviCRM data seamlessly into Drupal, creating custom displays and forms.

CiviCRM Entity is a Drupal module which exposes many CiviCRM API entities as true Drupal entity types. That means that almost any module that can use Drupal entities can also access and manipulate CiviCRM data, Drupal style.

4.0.x is compatible with Drupal 10.1 and 11 and CiviCRM 5.60 and above
8.x-3.x for Drupal 8/9 (unsupported)
7.x-2.x is compatible with CiviCRM versions 4.3-5.x, but works best with 4.6 and above.

This module integrates nearly 40 CiviCRM entities as Drupal entities by wrapping CiviCRM API calls in extended Drupal Entity controllers.

  • Contacts
  • Addresses
  • Emails
  • Phones
  • Events
  • Participants
  • Contribution Pages
  • Contributions
  • Line Items
  • Financial Transactions
  • Price Sets, Price Fields, Price Field Values
  • Activities
  • Many more...

This means:

  • Developers can use the core and contrib Entity API for working with CiviCRM data
  • Rules integration
  • Display Suite, and Display Suite Forms Integration
  • Views integration
  • Works with Entity References
  • Works with Search API and Facet API.
  • Places nicely with Services module
  • Works with Entityqueue.
  • Native Drupal View Pages (e.g. /civicrm-contact/1)
  • Native Drupal Edit Forms (e.g. /civicrm-contact/1/edit)
  • Add Drupal fields to CiviCRM Entities
  • Extendable by custom modules or CiviCRM extensions to add or alter entities
  • Can integrate with Commerce with just a little elbow grease

Development is active and ongoing.

Documentation

See the CiviCRM Entity handbook page on Drupal.org for documentation. Feel free to make improvements, or suggest in #2122645 - Improve documentation. This documentation is so old, its almost pointless. We'll be upgrading this. Until then try looking at blog articles and presentations to glean useful information

The document is old kinda, still useful as an intro but....Just ping me on the CiviCRM Mattermost chat, CiviCRM Entity channel and I'll help you out. Ping @jackrabbithanna . Its free, its cool, and all the Drupal dev expatriates to the CiviCRM world hang out there. If you're thinking, "wow there's a lot of modules here, how does it all work?" Just get on and ask me!

Blog Articles

Presentations

Introduction to CiviCRM Entity Development

Google Slides, Intro to features , focus on CiviCRM Events.

My CiviCon 2015 Presentation, CiviCRM Drupal Integration
CiviCRM entity is covered in the second half of the slides.

My CiviCon 2016 presentation, Superior Drupal Integration

Developer Information

Developers can alter the information used by CiviCRM Entity to integrate the different CiviCRM entity types.

see civicrm_entity.api.php for details for implementing or read about it here.
hook_civicrm_entity_supported_entity_info()
Despite its name it acts like a standard drupal alter hook
The new hook allows developers to:

  • Add entities that aren't exposed by default
  • Alter settings for entities that are exposed such as theme template
  • Permissions necessary to view/add/create entities
  • Set or add display suite formatters for entity properties
  • Change the property that is used for the entity label
  • create your own access callback for customizing view/add/create access

Contribution

Please use the Drupal.org issue queue for bug reports.

We encourage you fork the GitHub repo, because that is where the actual active development is being coordinated and code discussion takes place. After committing to your fork, create a pull request to receive commit credit.

Join the discussion on CiviCRM's Mattermost site, civicrm entity channel:

Hire Skvare to add the specific feature you want, now. We’ll put it back into the general release and continue building more functionality. Clients have already committed funds to further extend this project. Those who fund development guide the priorities, milestones, and timelines.

Talk to Mark Hanna, CiviCRM Entity maintainer and new development lead. CiviCRM LTS maintainter. @jackrabbithanna on Twitter and chat.civicrm.org

Activity

Total releases
11
First release
Jan 2025
Latest release
1 week ago
Releases (12 mo)
9 ▲ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Release date
4.0.8 Stable Jul 9, 2026
4.0.7 Stable Jul 2, 2026
4.0.6 Stable Jun 16, 2026
5.0.x-dev Dev May 28, 2026
4.0.5 Stable Apr 27, 2026
4.0.4 Stable Apr 10, 2026
4.0.3 Stable Nov 11, 2025
4.0.2 Stable Oct 10, 2025
4.0.1 Stable Sep 9, 2025
4.0.0 Stable Apr 9, 2025
4.0.0-beta6 Pre-release Jan 30, 2025