function DocParser::setIgnoredAnnotationNames
Same name in other branches
- 8.9.x core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php \Drupal\Component\Annotation\Doctrine\DocParser::setIgnoredAnnotationNames()
- 10 core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php \Drupal\Component\Annotation\Doctrine\DocParser::setIgnoredAnnotationNames()
- 11.x core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php \Drupal\Component\Annotation\Doctrine\DocParser::setIgnoredAnnotationNames()
Sets the annotation names that are ignored during the parsing process.
The names are supposed to be the raw names as used in the class, not the fully qualified class names.
Parameters
array $names:
Return value
void
File
-
core/
lib/ Drupal/ Component/ Annotation/ Doctrine/ DocParser.php, line 253
Class
- DocParser
- A parser for docblock annotations.
Namespace
Drupal\Component\Annotation\DoctrineCode
public function setIgnoredAnnotationNames(array $names) {
$this->ignoredAnnotationNames = $names;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.