diff --git a/tests/Drupal/good/good.php b/tests/Drupal/good/good.php index 3c9ecacb..e820619f 100644 --- a/tests/Drupal/good/good.php +++ b/tests/Drupal/good/good.php @@ -1887,3 +1887,15 @@ public function foo() { '#empty' => $this->t('No strings available.'), '#attributes' => ['class' => ['locale-translate-edit-table']], ]; + +/** + * Plugin discovery annotations with long translatable strings are allowed. + * + * @Plugin( + * id = "aggregator", + * title = @Translation("Default fetcher"), + * description = @Translation("Downloads data from a URL using Drupal's HTTP request handler."), + * ) + */ +class DefaultFetcher implements FetcherInterface { +}