Copied!

BeforeRemoveContentTypeTranslationEvent

BeforeRemoveContentTypeTranslationEvent.php : 15
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeRemoveContentTypeTranslationEvent.php : 26
public __construct(ContentTypeDraft $contentTypeDraft, string $languageCode)

Parameters

Name Type Default value Description
$contentTypeDraft ContentTypeDraft - -
$languageCode string - -

publicgetContentTypeDraft()

BeforeRemoveContentTypeTranslationEvent.php : 32
public getContentTypeDraft() : ContentTypeDraft

Return values

ContentTypeDraft

publicgetLanguageCode()

BeforeRemoveContentTypeTranslationEvent.php : 37
public getLanguageCode() : string

Return values

string

publicgetNewContentTypeDraft()

BeforeRemoveContentTypeTranslationEvent.php : 42
public getNewContentTypeDraft() : ContentTypeDraft

Return values

ContentTypeDraft

publichasNewContentTypeDraft()

BeforeRemoveContentTypeTranslationEvent.php : 56
public hasNewContentTypeDraft() : bool

Return values

bool

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicsetNewContentTypeDraft()

BeforeRemoveContentTypeTranslationEvent.php : 51
public setNewContentTypeDraft(ContentTypeDraft|null $newContentTypeDraft) : void

Parameters

Name Type Default value Description
$newContentTypeDraft ContentTypeDraft|null - -

publicstopPropagation()

Event.php : 50

Stops the propagation of the event to further event listeners.

public stopPropagation() : void

If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().