Commit 1eb935f9 authored by webchick's avatar webchick

Issue #2713831 by vegantriathlete, lisa.ugray, joshi.rohit100, jhodgdon,...

Issue #2713831 by vegantriathlete, lisa.ugray, joshi.rohit100, jhodgdon, deviantintegral, kellyimagined, alexpott, akalata, soulsesa: Document #machine_name exists parameters
parent 90a681b1
......@@ -22,7 +22,10 @@
* Properties:
* - #machine_name: An associative array containing:
* - exists: A callable to invoke for checking whether a submitted machine
* name value already exists. The submitted value is passed as an argument.
* name value already exists. The arguments passed to the callback will be:
* - The submitted value.
* - The element array.
* - The form state object.
* In most cases, an existing API or menu argument loader function can be
* re-used. The callback is only invoked if the submitted value differs from
* the element's #default_value.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment