/**
  * {@inheritdoc}
  */
 public function postSave($update)
 {
     // Only allow the parent implementation to act if pathauto will not create
     // an alias.
     if ($this->pathauto == PathautoState::SKIP) {
         parent::postSave($update);
     }
     $this->get('pathauto')->persist();
 }