You are here

public function MailDataCollector::getMailSent in Devel 4.x

Same name and namespace in other branches
  1. 8.3 webprofiler/src/DataCollector/MailDataCollector.php \Drupal\webprofiler\DataCollector\MailDataCollector::getMailSent()
  2. 8 webprofiler/src/DataCollector/MailDataCollector.php \Drupal\webprofiler\DataCollector\MailDataCollector::getMailSent()
  3. 8.2 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 64

Class

MailDataCollector
Class MailDataCollector.

Namespace

Drupal\webprofiler\DataCollector

Code

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