FormYamlProvider implements ProviderInterface
Table of Contents
Interfaces
- ProviderInterface
- To be implemented by all configuration providers
Properties
- $extbaseConfigurationManager : ConfigurationManagerInterface
- $extFormConfigurationManager : ConfigurationManagerInterface
- $identifier : string
Methods
- __construct() : mixed
- __invoke() : $this
- This method must exist since it's called from the provider registry to provide the tag attributes from the definition.
- getConfiguration() : array<string|int, mixed>
- Returns the configuration, displayed in the module
- getIdentifier() : string
- Returns the provider identifier
- getLabel() : string
- Returns the providers' label (locallang or static text)
- getLanguageService() : LanguageService
Properties
$extbaseConfigurationManager read-only
protected
ConfigurationManagerInterface
$extbaseConfigurationManager
$extFormConfigurationManager read-only
protected
ConfigurationManagerInterface
$extFormConfigurationManager
$identifier
protected
string
$identifier
Methods
__construct()
public
__construct(ConfigurationManagerInterface $extFormConfigurationManager, ConfigurationManagerInterface $extbaseConfigurationManager) : mixed
Parameters
- $extFormConfigurationManager : ConfigurationManagerInterface
- $extbaseConfigurationManager : ConfigurationManagerInterface
__invoke()
This method must exist since it's called from the provider registry to provide the tag attributes from the definition.
public
__invoke(array<string|int, mixed> $attributes) : $this
Note: We use __invoke so provider implementations are still able to use dependency injection via constructor arguments.
Parameters
- $attributes : array<string|int, mixed>
Return values
$thisgetConfiguration()
Returns the configuration, displayed in the module
public
getConfiguration() : array<string|int, mixed>
Return values
array<string|int, mixed>getIdentifier()
Returns the provider identifier
public
getIdentifier() : string
Return values
stringgetLabel()
Returns the providers' label (locallang or static text)
public
getLabel() : string
Return values
stringgetLanguageService()
protected
getLanguageService() : LanguageService