You are here

public function MailDataCollector::getMailSent in Devel 8

Same name and namespace in other branches
  1. 8.3 webprofiler/src/DataCollector/MailDataCollector.php \Drupal\webprofiler\DataCollector\MailDataCollector::getMailSent()
  2. 8.2 webprofiler/src/DataCollector/MailDataCollector.php \Drupal\webprofiler\DataCollector\MailDataCollector::getMailSent()
  3. 4.x webprofiler/src/DataCollector/MailDataCollector.php \Drupal\webprofiler\DataCollector\MailDataCollector::getMailSent()

Return value

int

1 call to MailDataCollector::getMailSent()
MailDataCollector::getPanelSummary in webprofiler/src/DataCollector/MailDataCollector.php
Returns the string used in vertical tab summary.

File

webprofiler/src/DataCollector/MailDataCollector.php, line 61

Class

MailDataCollector
Class MailDataCollector

Namespace

Drupal\webprofiler\DataCollector

Code

public function getMailSent() {
  return count($this->data['mail']);
}