Required Modules
CRM declares seven module dependencies in crm.info.yml. Drupal will not enable
CRM until all of them are present. Four are contrib modules pulled in by
Composer; three are Drupal core modules enabled as part of the dependency chain.
Required modules
| Module | Type | Role in CRM |
|---|---|---|
| Address | Contrib | address field on address contact methods |
| Datetime | Core | Contact start and end date fields |
| Image | Core | Contact profile image field |
| Telephone | Core | telephone field on telephone contact methods |
| Inline Entity Form | Contrib | Inline editing of contact methods and relationships on contact forms |
| Name | Contrib | Structured full_name field on person contacts |
| Primary Entity Reference | Contrib | Primary email, telephone, and address selection among multiples |
Contrib module details
- Address — powers the address contact method bundle. See Contact Method.
- Inline Entity Form — embeds contact method and relationship editing on contact forms. Also used when syncing user profile fields with mapped contacts.
- Name — provides the structured name components on person contacts (given, family, and related subfields).
- Primary Entity Reference — marks one email, telephone, or address as primary when a contact has several of the same type.
Installation
Recommended path using Composer:
composer require drupal/crm
drush pm:enable crm -y
Composer installs the four contrib dependencies automatically. Drupal enables them when CRM is enabled through Extend or Drush.
If you install CRM from a tarball without Composer, you must also download and enable Address, Inline Entity Form, Name, and Primary Entity Reference before enabling CRM.