/** * {@inheritdoc} */ public function insert() { // Only allow the parent implementation to act if pathauto will not create // an alias. if (!isset($this->pathauto) || empty($this->pathauto)) { parent::insert(); } }