Class

eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\Parser\AbstractFieldTypeParser

abstract class AbstractFieldTypeParser extends AbstractParser implements FieldTypeParserInterface

Abstract parser class that field type parsers need to extend in order to receive NodeBuilder at Node just under ezpublish...fieldtypes..

Methods

mixed preMap(array $config, ContextualizerInterface $contextualizer)

This method is called by the ConfigurationProcessor before looping over available scopes.

from AbstractParser
mixed postMap(array $config, ContextualizerInterface $contextualizer)

This method is called by the ConfigurationProcessor after looping over available scopes.

from AbstractParser
addSemanticConfig(NodeBuilder $nodeBuilder)

Adds semantic configuration definition.

Details

in AbstractParser at line 27
public mixed preMap(array $config, ContextualizerInterface $contextualizer)

This method is called by the ConfigurationProcessor before looping over available scopes.

You may here use $contextualizer->mapConfigArray().

Parameters

array $config Complete parsed semantic configuration
ContextualizerInterface $contextualizer

Return Value

mixed

See also

ConfigurationProcessor::mapConfig()
ContextualizerInterface::mapConfigArray()

in AbstractParser at line 43
public mixed postMap(array $config, ContextualizerInterface $contextualizer)

This method is called by the ConfigurationProcessor after looping over available scopes.

You may here use $contextualizer->mapConfigArray().

Parameters

array $config Complete parsed semantic configuration
ContextualizerInterface $contextualizer

Return Value

mixed

See also

ConfigurationProcessor::mapConfig()
ContextualizerInterface::mapConfigArray()

at line 26
public addSemanticConfig(NodeBuilder $nodeBuilder)

Adds semantic configuration definition.

Parameters

NodeBuilder $nodeBuilder Node just under ezpublish..