You are here

public function LayoutAlterHookTest::testIconPath in Panels 8.4

Tests that Panels correctly modifies layout icons.

File

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

Class

LayoutAlterHookTest
Tests Panels' implementation of hook_layout_alter().

Namespace

Drupal\Tests\panels\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());
}