Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

T.C. Kimlik Kontrol

No security coverage Under active development 5 sites

This module validates Turkish National ID numbers (T.C. Kimlik No). It allows you to add this validation as a field to content types, users, or taxonomy terms, integrate it into custom forms, and programmatically validate T.C. Kimlik No using its provided service.

T.C. Kimlik No (Turkey)

This module provides functionality to validate T.C. Kimlik No. You can add custom field for content type, user and taxonomy just like any other field also can be added to any form via form api and you can validate any T.C kimlik no programmatically using provided service by this module.

Usage

1. Add as a field to content types, user or taxonomy terms
2. Usage in custom form

$form['message'] = [
      '#type'     => 'tckk',
      '#title'    => $this->t('T.C.'),
      '#required' => TRUE,
    ];

3. Validate T.C. anywhere in the project.

$tckimlik = '9999999';
if (\Drupal::service('tckk_field.validator')->validate($tcKimlik)) {
  // is valid
} else {
 // is not valid
}
Drupal 8–11

Ask your assistant about T.C. Kimlik Kontrol

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

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Jan 2025
Latest release
3 weeks ago
Releases (12 mo)
1
Maintenance
Active

Releases

Version Type Core PHP Release date
1.0.2 Stable 8–11 Sep 18, 2026
1.0.1 Stable 8–11 Jan 14, 2025