You are here

public function GridLayoutDiscoveryInterface::getLayoutOptions in Paragraphs Collection 8

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.

1 method overrides GridLayoutDiscoveryInterface::getLayoutOptions()
GridLayoutDiscovery::getLayoutOptions in src/GridLayoutDiscovery.php
Gets sorted grid layout titles keyed by their machine names.

File

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();