Event emitted before action execution.
Methods¶
                 __construct()
            ¶
__construct()
            ¶
    
        
        BeforeCreateSiteEvent.php
                :
        24
                 
    
        |  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $siteCreateStruct | SiteCreateStruct | - | - | 
                 getSite()
            ¶
getSite()
            ¶
    
        
        BeforeCreateSiteEvent.php
                :
        34
                 
    
        |  |  | 
Return values
                 getSiteCreateStruct()
            ¶
getSiteCreateStruct()
            ¶
    
        
        BeforeCreateSiteEvent.php
                :
        29
                 
    
        |  |  | 
Return values
                 hasSite()
            ¶
hasSite()
            ¶
    
        
        BeforeCreateSiteEvent.php
                :
        48
                 
    
        |  |  | 
Return values
bool
                 isPropagationStopped()
            ¶
isPropagationStopped()
            ¶
    
        
        Event.php
                :
        38
                 
    
        |  |  | 
Return values
bool
                 setSite()
            ¶
setSite()
            ¶
    
        
        BeforeCreateSiteEvent.php
                :
        43
                 
    
        |  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $site | Site|null | - | - | 
                 stopPropagation()
            ¶
stopPropagation()
            ¶
    
        
        Event.php
                :
        50
                 
    
        Stops the propagation of the event to further event listeners.
|  |  | 
If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().