public function GridLayoutDiscoveryInterface::getLayoutOptions

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 paragraphs_collection/src/GridLayoutDiscovery.php
Gets sorted grid layout titles keyed by their machine names.

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