Form API reference details on machine name 'exists' should give full callback signature

Created on 7 March 2012, about 13 years ago
Updated 26 March 2025, 20 days ago

http://api.drupal.org/api/drupal/developer!topics!forms_api_reference.ht...

States:

exists: A function name to invoke for checking whether a submitted machine name value already exists. The submitted value is passed as argument.

The full signature for this callback is shown in form.inc where it is called:

    if ($function($element['#value'], $element, $form_state)) {
🐛 Bug report
Status

Closed: won't fix

Component

API documentation files

Created by

🇬🇧United Kingdom joachim

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024