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\KernelCode
public function testIconPath() {
/** @var \Drupal\Core\Layout\LayoutDefinition $layout */
$layout = $this->container
->get('plugin.manager.core.layout')
->getDefinition('layout_onecol');
$this
->assertEmpty($layout
->getIconPath());
}