You are here

public function Email::getSummary in Feeds 8.3

Returns the summary for a target.

Returning the summary as array is encouraged. The allowance of returning a string only exists for backwards compatibility.

Return value

string|string[] The configuration summary.

Overrides FieldTargetBase::getSummary

File

src/Feeds/Target/Email.php, line 68

Class

Email
Defines a email field mapper.

Namespace

Drupal\feeds\Feeds\Target

Code

public function getSummary() {
  $summary = parent::getSummary();
  $summary[] = $this->configuration['defuse'] ? $this
    ->t('Addresses <strong>will</strong> be defused.') : $this
    ->t('Addresses will not be defused.');
  return $summary;
}