You are here

class TestPluginBase in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/tests/src/Kernel/Plugin/PluginBaseTest.php \Drupal\Tests\views\Kernel\Plugin\TestPluginBase
  2. 9 core/modules/views/tests/src/Kernel/Plugin/PluginBaseTest.php \Drupal\Tests\views\Kernel\Plugin\TestPluginBase

Helper class for using the PluginBase abstract class.

Hierarchy

  • class \Drupal\Tests\views\Kernel\Plugin\TestPluginBase extends \Drupal\views\Plugin\views\PluginBase

Expanded class hierarchy of TestPluginBase

File

core/modules/views/tests/src/Kernel/Plugin/PluginBaseTest.php, line 85
Contains \Drupal\views\Tests\Plugin\PluginBaseTest.

Namespace

Drupal\Tests\views\Kernel\Plugin
View source
class TestPluginBase extends PluginBase {
  public function __construct() {
    parent::__construct([], '', []);
  }
  public function viewsTokenReplace($text, $tokens) {
    return parent::viewsTokenReplace($text, $tokens);
  }

}

Members