Copied!

BeforeRemoveContentTypeTranslationEvent

BeforeRemoveContentTypeTranslationEvent.php : 15
Final
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

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

Parameters

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

publicgetContentTypeDraft()

BeforeRemoveContentTypeTranslationEvent.php : 29
public getContentTypeDraft() : ContentTypeDraft

Return values

ContentTypeDraft

publicgetLanguageCode()

BeforeRemoveContentTypeTranslationEvent.php : 34
public getLanguageCode() : string

Return values

string

publicgetNewContentTypeDraft()

BeforeRemoveContentTypeTranslationEvent.php : 39
public getNewContentTypeDraft() : ContentTypeDraft

Return values

ContentTypeDraft

publichasNewContentTypeDraft()

BeforeRemoveContentTypeTranslationEvent.php : 53
public hasNewContentTypeDraft() : bool

Return values

bool

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicsetNewContentTypeDraft()

BeforeRemoveContentTypeTranslationEvent.php : 48
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().