You are here

public function OptionalContextCondition::summary in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 39
Contains \Drupal\condition_test\Plugin\Condition\OptionalContextCondition.

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