Skip to main content
drupalreleases
Release: Cms 2.2.3 — Update released for Drupal core (2.2.3)! Release: Easy Breadcrumb 2.0.11 — Minor update available for module easy_breadcrumb (2.0.11). Release: Menu Link Attributes 8.x-1.9 — Minor update available for module menu_link_attributes (8.x-1.9). Release: Bootstrap 8.x-3.42 — Minor update available for theme bootstrap (8.x-3.42). Release: PhotoSwipe - Responsive JavaScript Modal Image Gallery 5.0.11 — Minor update available for module photoswipe (5.0.11). Release: Search API attachments 10.0.13 — Minor update available for module search_api_attachments (10.0.13). Release: amazee.ai Private AI Provider 1.4.6 — Minor update available for module ai_provider_amazeeio (1.4.6). Release: amazee.ai Private AI Provider 1.3.10 — Minor update available for module ai_provider_amazeeio (1.3.10). Module Revived: Bootstrap 8.x-3.41 — Theme bootstrap updated after 6 months of inactivity (8.x-3.41). Security Coverage: Component Library — Module component_library now has official Drupal security advisory coverage.

Entity Phone Field

Security covered Drupal 10–11

Part of the Entity ecosystem · 306 projects

View on drupal.org

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.

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
4 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

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