protected function OptionsBase::isList in YAML Form 8
Determine if options element is being displayed as list.
Parameters
array $element: An element.
Return value
bool TRUE if options element is being displayed as ul or ol list.
1 call to OptionsBase::isList()
- OptionsBase::isMultiline in src/
Plugin/ YamlFormElement/ OptionsBase.php - Checks if element value could contain multiple lines.
File
- src/
Plugin/ YamlFormElement/ OptionsBase.php, line 241
Class
- OptionsBase
- Provides a base 'options' element.
Namespace
Drupal\yamlform\Plugin\YamlFormElementCode
protected function isList(array $element) {
return $this
->getListType($element) ? TRUE : FALSE;
}