protected property NodeNewComments::$database in Drupal 10
Same name and namespace in other branches
- 8 core/modules/comment/src/Plugin/views/field/NodeNewComments.php \Drupal\comment\Plugin\views\field\NodeNewComments::database
- 9 core/modules/comment/src/Plugin/views/field/NodeNewComments.php \Drupal\comment\Plugin\views\field\NodeNewComments::database
Database Service Object.
Type: \Drupal\Core\Database\Connection
File
- core/
modules/ comment/ src/ Plugin/ views/ field/ NodeNewComments.php, line 38
Class
- NodeNewComments
- Field handler to display the number of new comments.
Namespace
Drupal\comment\Plugin\views\fieldCode
protected $database;