Same name and namespace in other branches
- 3.0.x src/Feeds/Target/Color.php \Drupal\color_field\Feeds\Target\Color::prepareTarget()
Fichier
-
src/
Feeds/ Target/ Color.php, line 26
Classe
- Color
- Defines a color field mapper.
Namespace
Drupal\color_field\Feeds\TargetCode
protected static function prepareTarget(FieldDefinitionInterface $field_definition) {
return FieldTargetDefinition::createFromFieldDefinition($field_definition)->addProperty('color')
->addProperty('opacity');
}