You are here

public property TestContextAwarePlugin::$setContextCalled in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginBaseTest.php \Drupal\KernelTests\Core\Plugin\Context\TestContextAwarePlugin::setContextCalled
  2. 9 core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php \Drupal\KernelTests\Core\Plugin\Context\TestContextAwarePlugin::setContextCalled

Indicates if ::setContext() has been called or not.

Type: bool

File

core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php, line 113

Class

TestContextAwarePlugin

Namespace

Drupal\KernelTests\Core\Plugin\Context

Code

public $setContextCalled = FALSE;