You are here

public function TestConditionFalse::summary in Rules 8.3

Get the translated summary from the label annotation.

Return value

string The summary of the plugin.

Throws

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException Thrown if a summary was not set.

Overrides ExecutablePluginTrait::summary

File

tests/modules/rules_test/src/Plugin/Condition/TestConditionFalse.php, line 28

Class

TestConditionFalse
Provides an always-FALSE test condition.

Namespace

Drupal\rules_test\Plugin\Condition

Code

public function summary() {

  // We don't care about summaries for test condition plugins.
  return '';
}