protected function Notify::supportsDocComments in Drupal 7 to 8/9 Module Upgrader 8
Returns if a node supports doc comments by importing DocCommentTrait anywhere in its lineage.
Parameters
\Pharborist\NodeInterface $node:
Return value
bool
2 calls to Notify::supportsDocComments()
- Notify::getComment in src/
Plugin/ DMU/ Fixer/ Notify.php - Notify::setComment in src/
Plugin/ DMU/ Fixer/ Notify.php
File
- src/
Plugin/ DMU/ Fixer/ Notify.php, line 63
Class
- Notify
- Plugin annotation @Fixer( id = "notify" )
Namespace
Drupal\drupalmoduleupgrader\Plugin\DMU\FixerCode
protected function supportsDocComments(NodeInterface $node) {
return $this
->usesTrait('Pharborist\\DocCommentTrait', $node);
}