public function BlazyManagerBase::getOptionsetOptions in Blazy 7
Returns available optionsets for select options.
File
- src/
BlazyManagerBase.php, line 288
Class
- BlazyManagerBase
- Implements BlazyManagerInterface.
Namespace
Drupal\blazyCode
public function getOptionsetOptions(array $entities = []) {
if (!isset($this->optionsetOptions)) {
foreach ($entities as $key => $optionset) {
$this->optionsetOptions[$key] = check_plain($optionset->label);
}
asort($this->optionsetOptions);
}
return $this->optionsetOptions;
}