function OptionalContextCondition::summary

Same name in other branches
  1. 8.9.x core/modules/system/tests/modules/condition_test/src/Plugin/Condition/OptionalContextCondition.php \Drupal\condition_test\Plugin\Condition\OptionalContextCondition::summary()
  2. 10 core/modules/system/tests/modules/condition_test/src/Plugin/Condition/OptionalContextCondition.php \Drupal\condition_test\Plugin\Condition\OptionalContextCondition::summary()
  3. 11.x core/modules/system/tests/modules/condition_test/src/Plugin/Condition/OptionalContextCondition.php \Drupal\condition_test\Plugin\Condition\OptionalContextCondition::summary()

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

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