Same name and namespace in other branches
  1. 8.x-2.x src/Feeds/Target/Color.php \Drupal\color_field\Feeds\Target\Color::getSummary() 1 comment

File

src/Feeds/Target/Color.php, line 55

Class

Color
Defines a color field mapper.

Namespace

Drupal\color_field\Feeds\Target

Code

public function getSummary() {
    $summary = parent::getSummary();
    $summary[] = $this->configuration['format'] ? $summary[] = $this->t('Color with format: %format', [
        '%format' => $this->configuration['format'],
    ]) : $this->t('Color by default');
    return $summary;
}