Problem/Motivation

The grid layout discovery is missing the provider. We'd need it in order to implement various icons that show selected layouts.

Proposed resolution

Add the provider to the grid layout discovery.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sasanikolic created an issue. See original summary.

sasanikolic’s picture

Status: Active » Needs review
FileSize
531 bytes

Here is the patch.

mbovan’s picture

Status: Needs review » Needs work
+++ b/src/GridLayoutDiscovery.php
@@ -99,6 +99,7 @@ class GridLayoutDiscovery implements GridLayoutDiscoveryInterface {
+          $definition['provider'] = $module;

Perhaps we should call this variable $provider.

sasanikolic’s picture

Berdir’s picture

Status: Needs review » Fixed

Committed.

  • Berdir committed 36ddf34 on 8.x-1.x authored by sasanikolic
    Issue #3038026 by sasanikolic: Add provider to the grid layout discovery
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.