Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Entity Phone Field

Security covered Maintenance fixes only

Part of the Entity ecosystem · 310 projects

This module adds a country-aware phone number field to user profiles. It allows users to select a country's dial code and enter their local number, which is then stored in an international format. The country list is automatically populated from an external API and cached for better performance.

Entity Phone Field

Introduction
Entity Phone Field provides a reusable country-aware phone field for user
entities. It adds a field widget that lets users select a country dial code
and enter a local phone number, storing the result in international format
(e.g. +91XXXXXXXXXX).
Features

Adds field_phone to the User entity on installation
Country dropdown populated from the REST Countries API
Cached country data for performance
Stores phone numbers in international format
Reusable Country Phone Widget field widget
Settings form to configure the default country code
Safe install and uninstall handling

Requirements

Drupal core 10.3 or 11
drupal:field and drupal:user core modules

Installation
Install as you would normally install a contributed Drupal module. See
Installing Drupal Modules
for further information.
drush en entity_phone_field
Configuration
After enabling the module:

Go to Administration > Configuration > People > Phone Field Settings
(/admin/config/people/entity-phone-field) to set the default country code.
Go to Administration > Configuration > People > Account settings >
Manage form display (/admin/config/people/accounts/form-display).
Enable the field_phone field and select Country Phone Widget.
Save the form display configuration.

Drupal 10–11

Ask your assistant about Entity Phone Field

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • field Drupal core
  • user Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
May 2026
Latest release
5 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Core PHP Release date
1.0.1 Stable 10–11 May 29, 2026
1.0.0 Stable 10–11 May 26, 2026