You are here

public function LayoutAlterHookTest::testIconPath in Lightning Layout 8.2

Tests that Panels correctly modifies layout icons.

File

tests/src/Kernel/LayoutAlterHookTest.php, line 29

Class

LayoutAlterHookTest
Tests Lightning Layout's implementation of hook_layout_alter().

Namespace

Drupal\Tests\lightning_layout\Kernel

Code

public function testIconPath() {

  /** @var \Drupal\Core\Layout\LayoutDefinition $layout */
  $layout = $this->container
    ->get('plugin.manager.core.layout')
    ->getDefinition('layout_onecol');
  $this
    ->assertEmpty($layout
    ->getIconPath());
}