SearchEntityOperationsCacheabilityTest.php
Same filename and directory in other branches
Namespace
Drupal\Tests\search\KernelFile
-
core/
modules/ search/ tests/ src/ Kernel/ SearchEntityOperationsCacheabilityTest.php
View source
<?php
declare (strict_types=1);
namespace Drupal\Tests\search\Kernel;
use Drupal\Tests\system\Kernel\Entity\EntityOperationsCacheabilityTest;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses;
/**
* Tests cacheability added by entity operations.
*/
class SearchEntityOperationsCacheabilityTest extends EntityOperationsCacheabilityTest {
/**
* Data provider for testEntityOperationsCacheability().
*/
public static function providerEntityOperationsCacheability() : iterable {
yield [
[
'user',
'search',
],
'search_page',
[
'plugin' => 'user_search',
'path' => '/test_user_search',
],
[
'config:search.page.test',
],
[
'user.permissions',
],
FALSE,
TRUE,
];
}
}
Classes
| Title | Deprecated | Summary |
|---|---|---|
| SearchEntityOperationsCacheabilityTest | Tests cacheability added by entity operations. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.