Gets sorted grid layout titles keyed by their machine names.
array Array of availalable layout options in key value pairs, where the key is the machine name and the value the description.
Overrides GridLayoutDiscoveryInterface::getLayoutOptions
public function getLayoutOptions() {
$layout_options = [];
$layouts = $this
->getGridLayouts();
foreach ($layouts as $name => $layout) {
$layout_options[$name] = $layout['title'];
}
uasort($layout_options, 'strcasecmp');
return $layout_options;
}