You are here

protected property OverviewController::$paragraphsTypesGroupedByGridLayouts in Paragraphs Collection 8

A nested array of Paragraphs Type objects.

A nested array. The first level is keyed by grid layout machine names. The second level is keyed Paragraphs Type IDs. The second-level values are Paragraphs Type objects that allow the respective grid layout. Grid layouts are ordered by name.

Example:

[
  '1_2_1_column_layout' => [
    'grid_pt' => $grid_paragraphs_type_object,
  ],
];

Type: array

File

src/Controller/OverviewController.php, line 62

Class

OverviewController
The controller for overviews of Paragraphs Collection's discoverable items.

Namespace

Drupal\paragraphs_collection\Controller

Code

protected $paragraphsTypesGroupedByGridLayouts;