You are here

public function GridLayoutDiscoveryInterface::getLayout in Paragraphs Collection 8

Get layout by layout name.

Parameters

string $layout: The layout name.

Return value

array The layout configuration.

1 method overrides GridLayoutDiscoveryInterface::getLayout()
GridLayoutDiscovery::getLayout in src/GridLayoutDiscovery.php
Get layout by layout name.

File

src/GridLayoutDiscoveryInterface.php, line 47

Class

GridLayoutDiscoveryInterface
Provides discovery for a YAML grid layout files in specific directories.

Namespace

Drupal\paragraphs_collection

Code

public function getLayout($layout);