public function deleteContentType(ContentType $contentType) { $returnValue = $this->service->deleteContentType($contentType); $this->signalDispatcher->emit(new DeleteContentTypeSignal(array('contentTypeId' => $contentType->id))); return $returnValue; }