public function TestTextCondition::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/ TestTextCondition.php, line 35
Class
- TestTextCondition
- Returns TRUE if the 'text' context parameter equals 'test value'.
Namespace
Drupal\rules_test\Plugin\ConditionCode
public function summary() {
// We don't care about summaries for test condition plugins.
return '';
}