Skip to content

Commit

Permalink
EZP-29788: As a developer, I want to delete content type translation …
Browse files Browse the repository at this point in the history
…(#2494)

* EZP-29788: As a developer, I want to delete content type translation

* EZP-29788: Move handling into persistence layer

* EZP-29788: Code review fix

* EZP-29788: Unit tests for new removeContentTypeTranslation method

* EZP-29788: BC breaks doc updated

* EZP-29788: Changed typehinting for contentTypeId from mixed to int
  • Loading branch information
ViniTou authored and Łukasz Serwatka committed Dec 14, 2018
1 parent ee01b3c commit c519a64
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Persistence/Content/Type/Handler.php
Expand Up @@ -322,4 +322,12 @@ public function publish($contentTypeId);
* @return array
*/
public function getSearchableFieldMap();

/**
* @param int $contentTypeId
* @param string $languageCode
*
* @return \eZ\Publish\SPI\Persistence\Content\Type
*/
public function removeContentTypeTranslation(int $contentTypeId, string $languageCode): Type;
}

0 comments on commit c519a64

Please sign in to comment.