HooksTest.php in Lightning Layout 8.2
File
tests/src/Kernel/HooksTest.php
View source
<?php
namespace Drupal\Tests\lightning_layout\Kernel;
use Drupal\KernelTests\KernelTestBase;
class HooksTest extends KernelTestBase {
protected static $modules = [
'lightning_layout',
];
public function testBlockAlter() {
$this
->expectNotToPerformAssertions();
$blocks = [
'entity_block:node:uid' => [],
];
lightning_layout_block_alter($blocks);
}
}
Classes
Name |
Description |
HooksTest |
Tests Lightning Layout's hook implementations. |