Gets sorted grid layout titles keyed by their machine names.
Return value
array
Array of availalable layout options in key value pairs, where the key
is the machine name and the value the description.
File
- paragraphs_collection/src/GridLayoutDiscoveryInterface.php, line 36
Class
- GridLayoutDiscoveryInterface
- Provides discovery for a YAML grid layout files in specific directories.
Namespace
Drupal\paragraphs_collection
Code
public function getLayoutOptions();