Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
brookinsconsulting committed Dec 14, 2018
2 parents 3365b51 + c519a64 commit ebf7e34
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Persistence/Content/Type.php
Expand Up @@ -188,4 +188,11 @@ class Type extends ValueObject
* @var bool
*/
public $defaultAlwaysAvailable = false;

/**
* Translations language codes.
*
* @var array
*/
public $languageCodes = [];
}
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 ebf7e34

Please sign in to comment.