Returns an array of all available slider options.
array All available optionsets, e.g. ['machine_name' => 'Label'].
public function getAllOptionSet() {
/** @var \Drupal\slick\Entity\Slick[] $entities */
$entities = $this->slickManager
->entityLoadMultiple('slick');
$option_sets = [];
foreach ($entities as $options_set_id => $option_set) {
$option_sets[$option_set
->id()] = $option_set
->label();
}
return $option_sets;
}