- Patch #1232722 by peterpoe: drupal_process_states() - doc listing states is not quite right.

8.0.x
Dries Buytaert 2011-08-10 15:47:50 -04:00
parent 47b865ed17
commit 85a0e326b9
1 changed files with 8 additions and 10 deletions

View File

@ -4421,6 +4421,8 @@ function drupal_process_attached($elements, $group = JS_DEFAULT, $dependency_che
* The following states may be applied to an element:
* - enabled
* - disabled
* - required
* - optional
* - visible
* - invisible
* - checked
@ -4429,26 +4431,22 @@ function drupal_process_attached($elements, $group = JS_DEFAULT, $dependency_che
* - collapsed
*
* The following states may be used in remote conditions:
* - enabled
* - disabled
* - visible
* - invisible
* - empty
* - filled
* - checked
* - unchecked
* - expanded
* - collapsed
* - value
*
* The following states exist for both states and remote conditions, but are not
* fully implemented and may not change anything on the element:
* - required
* - optional
* The following states exist for both elements and remote conditions, but are
* not fully implemented and may not change anything on the element:
* - relevant
* - irrelevant
* - valid
* - invalid
* - touched
* - untouched
* - filled
* - empty
* - readwrite
* - readonly
*