You are here

public function CerPreset::save in Corresponding Entity References 7.3

Overrides Entity::save().

Overrides Entity::save

File

includes/CerPreset.inc, line 58
Contains the entity class for CER presets.

Class

CerPreset
@file Contains the entity class for CER presets.

Code

public function save() {

  // Generate the export identifier automagically before saving.
  $this->identifier = $this->wrapper->cer_left
    ->value() . '*' . $this->wrapper->cer_right
    ->value();
  parent::save();
}