function UnapprovedComments::getTitle
Overrides LocalTaskDefault::getTitle
File
- 
              core/modules/ comment/ src/ Plugin/ Menu/ LocalTask/ UnapprovedComments.php, line 57 
Class
- UnapprovedComments
- Provides a local task that shows the amount of unapproved comments.
Namespace
Drupal\comment\Plugin\Menu\LocalTaskCode
public function getTitle(Request $request = NULL) {
  return $this->t('Unapproved comments (@count)', [
    '@count' => $this->commentStorage
      ->getUnapprovedCount(),
  ]);
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
