/** * Handle the command. */ public function handle() { if ($this->entry->isTranslatable() && (!$this->entry->isTrashable() || $this->entry->isForceDeleting())) { foreach ($this->entry->getTranslations() as $translation) { $translation->delete(); } } }