class TestPluginBase

Same name and namespace in other branches
  1. 11.x core/modules/views/tests/src/Kernel/Plugin/PluginBaseTest.php \Drupal\Tests\views\Kernel\Plugin\TestPluginBase
  2. 10 core/modules/views/tests/src/Kernel/Plugin/PluginBaseTest.php \Drupal\Tests\views\Kernel\Plugin\TestPluginBase
  3. 8.9.x core/modules/views/tests/src/Kernel/Plugin/PluginBaseTest.php \Drupal\Tests\views\Kernel\Plugin\TestPluginBase

Helper class for using the PluginBase abstract class.

Hierarchy

Expanded class hierarchy of TestPluginBase

File

core/modules/views/tests/src/Kernel/Plugin/PluginBaseTest.php, line 88

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);
  }

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.