Provides helpers for HTML option groups.
Name | Modifiers | Type | Description |
---|---|---|---|
OptGroup::doFlattenOptions | protected static | function | Iterates over an array building a flat array with duplicate keys removed. |
OptGroup::flattenOptions | public static | function | Allows PHP array processing of multiple select options with the same value. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Form!OptGroup.php/class/OptGroup/8.1.x