constant HIERARCHY_OPTIONS in Client-side Hierarchical Select 8
Same name and namespace in other branches
- 8.3 src/CshsOptionsFromHelper.php \Drupal\cshs\HIERARCHY_OPTIONS
- 8.2 src/CshsOptionsFromHelper.php \Drupal\cshs\HIERARCHY_OPTIONS
@internal DO NOT refer to this constant in your code as it is most likely to be removed.
2 uses of HIERARCHY_OPTIONS
- CshsOptionsFromHelper::settingsForm in src/
CshsOptionsFromHelper.php - Returns a form to configure settings.
- CshsOptionsFromHelper::settingsSummary in src/
CshsOptionsFromHelper.php - Returns a short summary for the settings.
File
- src/
CshsOptionsFromHelper.php, line 17
Namespace
Drupal\cshsCode
const HIERARCHY_OPTIONS = [
'hierarchy_depth' => [
'Hierarchy depth',
[
'Limits the nesting level. Use 0 to display all values. For the hierarchy like',
'"a" -> "b" -> "c" the selection of 2 will result in "b" being the deepest option.',
],
],
'required_depth' => [
'Required depth',
[
'Requires item selection at the given nesting level. Use 0 to not impose the',
'requirement. For the hierarchy like "a" -> "b" -> "c" the selection of 2 will',
'obey a user to select at least "a" and "b".',
],
],
];