You are here

public function ConditionTestDualUser::summary in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/condition_test/src/Plugin/Condition/ConditionTestDualUser.php \Drupal\condition_test\Plugin\Condition\ConditionTestDualUser::summary()
  2. 9 core/modules/system/tests/modules/condition_test/src/Plugin/Condition/ConditionTestDualUser.php \Drupal\condition_test\Plugin\Condition\ConditionTestDualUser::summary()

Provides a human readable summary of the condition's configuration.

Overrides ConditionInterface::summary

File

core/modules/system/tests/modules/condition_test/src/Plugin/Condition/ConditionTestDualUser.php, line 33

Class

ConditionTestDualUser
Provides a condition that requires two users.

Namespace

Drupal\condition_test\Plugin\Condition

Code

public function summary() {
  return $this
    ->t('This condition has two users.');
}