Neos.Neos/Classes/Aspects/NodeTypeConfigurationEnrichmentAspect.php
protected function mapIconNames(array &$configuration)
    {
        if (isset($configuration['ui']['icon'])) {
            $configuration['ui']['icon'] = $this->iconNameMappingService->convert($configuration['ui']['icon']);
        }

        $inspectorConfiguration = Arrays::getValueByPath($configuration, 'ui.inspector');
        if (is_array($inspectorConfiguration)) {
            foreach ($inspectorConfiguration as $elementTypeName => $elementTypeItems) {
                foreach ($elementTypeItems as $elementName => $elementConfiguration) {
                    if (isset($inspectorConfiguration[$elementTypeName][$elementName]['icon'])) {
                        $configuration['ui']['inspector'][$elementTypeName][$elementName]['icon'] = $this->iconNameMappingService->convert($inspectorConfiguration[$elementTypeName][$elementName]['icon']);
                    }
                }
            }
        }
    }
protected function mapIconNames(array &$configuration)
    {
        if (isset($configuration['ui']['icon'])) {
            $configuration['ui']['icon'] = $this->iconNameMappingService->convert($configuration['ui']['icon']);
        }

        $inspectorConfiguration = Arrays::getValueByPath($configuration, 'ui.inspector');
        if (is_array($inspectorConfiguration)) {
            foreach ($inspectorConfiguration as $elementTypeName => $elementTypeItems) {
                foreach ($elementTypeItems as $elementName => $elementConfiguration) {
                    if (isset($inspectorConfiguration[$elementTypeName][$elementName]['icon'])) {
                        $configuration['ui']['inspector'][$elementTypeName][$elementName]['icon'] = $this->iconNameMappingService->convert($inspectorConfiguration[$elementTypeName][$elementName]['icon']);
                    }
                }
            }
        }
    }
protected function mapIconNames ( array & $ configuration ) { if ( isset ( $ configuration [ 'ui' ] [ 'icon' ] ) ) { $ configuration [ 'ui' ] [ 'icon' ] = $ this -> iconNameMappingService -> convert ( $ configuration [ 'ui' ] [ 'icon' ] ) ; } $ inspectorConfiguration = Arrays :: getValueByPath ( $ configuration , 'ui.inspector' ) ; if ( is_array ( $ inspectorConfiguration ) ) { foreach ( $ inspectorConfiguration as $ elementTypeName => $ elementTypeItems ) { foreach ( $ elementTypeItems as $ elementName => $ elementConfiguration ) { if ( isset ( $ inspectorConfiguration [ $ elementTypeName ] [ $ elementName ] [ 'icon' ] ) ) { $ configuration [ 'ui' ] [ 'inspector' ] [ $ elementTypeName ] [ $ elementName ] [ 'icon' ] = $ this -> iconNameMappingService -> convert ( $ inspectorConfiguration [ $ elementTypeName ] [ $ elementName ] [ 'icon' ] ) ; } } } } }
Map all icon- prefixed icon names to the corresponding
names in the used icon implementation

@param array $configuration
Map all icon - prefixed icon names to the corresponding names in the used icon implementation