‪TYPO3CMS  ‪main
TYPO3\CMS\Backend\Module\BeforeModuleCreationEvent Class Reference

Public Member Functions

 __construct (private readonly string $identifier, private array $configuration)
 
 getIdentifier ()
 
 getConfiguration ()
 
 setConfiguration (array $configuration)
 
 hasConfigurationValue (string $key)
 
 getConfigurationValue (string $key, mixed $default=null)
 
 setConfigurationValue (string $key, mixed $value)
 

Detailed Description

Listeners can adjust the module configuration before the module gets created and registered

Definition at line 23 of file BeforeModuleCreationEvent.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\Module\BeforeModuleCreationEvent::__construct ( private readonly string  $identifier,
private array  $configuration 
)

Definition at line 25 of file BeforeModuleCreationEvent.php.

Member Function Documentation

◆ getConfiguration()

TYPO3\CMS\Backend\Module\BeforeModuleCreationEvent::getConfiguration ( )

Definition at line 32 of file BeforeModuleCreationEvent.php.

◆ getConfigurationValue()

TYPO3\CMS\Backend\Module\BeforeModuleCreationEvent::getConfigurationValue ( string  $key,
mixed  $default = null 
)

◆ getIdentifier()

TYPO3\CMS\Backend\Module\BeforeModuleCreationEvent::getIdentifier ( )

◆ hasConfigurationValue()

TYPO3\CMS\Backend\Module\BeforeModuleCreationEvent::hasConfigurationValue ( string  $key)

◆ setConfiguration()

TYPO3\CMS\Backend\Module\BeforeModuleCreationEvent::setConfiguration ( array  $configuration)

Definition at line 37 of file BeforeModuleCreationEvent.php.

◆ setConfigurationValue()

TYPO3\CMS\Backend\Module\BeforeModuleCreationEvent::setConfigurationValue ( string  $key,
mixed  $value 
)