Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
2735b59b
Commit
2735b59b
authored
Jul 16, 2013
by
catch
Browse files
Issue
#2042545
by tim.plunkett: Fixed Annotation parsing should ignore @file doxygen.
parent
fe7acd41
Changes
2
Hide whitespace changes
Inline
Side-by-side
core/lib/Drupal/Component/Plugin/Discovery/AnnotatedClassDiscovery.php
View file @
2735b59b
...
...
@@ -78,6 +78,7 @@ public function getDefinitions() {
$reader
=
new
AnnotationReader
();
// Prevent @endlink from being parsed as an annotation.
$reader
->
addGlobalIgnoredName
(
'endlink'
);
$reader
->
addGlobalIgnoredName
(
'file'
);
// Register the namespaces of classes that can be used for annotations.
AnnotationRegistry
::
registerAutoloadNamespaces
(
$this
->
getAnnotationNamespaces
());
...
...
core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/fruit/NonAnnotatedClass.php
0 → 100644
View file @
2735b59b
<?php
/**
* @file
* Contains \Drupal\plugin_test\Plugin\plugin_test\fruit\NonAnnotatedClass.
*/
namespace
Drupal\plugin_test\Plugin\plugin_test\fruit
;
class
NonAnnotatedClass
{}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment