You are here

public function OptionalContextCondition::summary in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/system/tests/modules/condition_test/src/Plugin/Condition/OptionalContextCondition.php \Drupal\condition_test\Plugin\Condition\OptionalContextCondition::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/OptionalContextCondition.php, line 34

Class

OptionalContextCondition
Provides a condition with an optional node context.

Namespace

Drupal\condition_test\Plugin\Condition

Code

public function summary() {
  return $this
    ->t('Context with optional context.');
}