function AnnotatedClassDiscoveryTest::provideBadAnnotations
Same name and namespace in other branches
- 9 core/tests/Drupal/Tests/Component/Plugin/Discovery/AnnotatedClassDiscoveryTest.php \Drupal\Tests\Component\Plugin\Discovery\AnnotatedClassDiscoveryTest::provideBadAnnotations()
- 8.9.x core/tests/Drupal/Tests/Component/Plugin/Discovery/AnnotatedClassDiscoveryTest.php \Drupal\Tests\Component\Plugin\Discovery\AnnotatedClassDiscoveryTest::provideBadAnnotations()
- 10 core/tests/Drupal/Tests/Component/Plugin/Discovery/AnnotatedClassDiscoveryTest.php \Drupal\Tests\Component\Plugin\Discovery\AnnotatedClassDiscoveryTest::provideBadAnnotations()
All the Drupal documentation standards tags.
File
-
core/
tests/ Drupal/ Tests/ Component/ Plugin/ Discovery/ AnnotatedClassDiscoveryTest.php, line 27
Class
- AnnotatedClassDiscoveryTest
- @coversDefaultClass <a href="/api/drupal/core%21lib%21Drupal%21Component%21Annotation%21Plugin%21Discovery%21AnnotatedClassDiscovery.php/class/AnnotatedClassDiscovery/11.x" title="Defines a discovery mechanism to find annotated plugins in PSR-4 namespaces." class="local">\Drupal\Component\Annotation\Plugin\Discovery\AnnotatedClassDiscovery</a>
Namespace
Drupal\Tests\Component\Plugin\DiscoveryCode
public static function provideBadAnnotations() {
return [
[
'addtogroup',
],
[
'code',
],
[
'defgroup',
],
[
'deprecated',
],
[
'endcode',
],
[
'endlink',
],
[
'file',
],
[
'ingroup',
],
[
'group',
],
[
'link',
],
[
'mainpage',
],
[
'param',
],
[
'ref',
],
[
'return',
],
[
'section',
],
[
'see',
],
[
'subsection',
],
[
'throws',
],
[
'todo',
],
[
'var',
],
[
'{',
],
[
'}',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.