Service Tags

Version

6.0.0 or newer

Table of contents

Service tags in Shopware are the same as Symfony - Service Tags. They are used to register your service in some special way.

Shopware Service Tags

Below you can find a listing of each service tag that exists in Shopware. Some tags are links and will provide you with further information.

TagRequired ArgumentsUsageInterface
shopware.entity.definitionentityThis tag is used to make your entities system-wide available\Shopware\Core\Framework\DataAbstractionLayer\EntityDefinition
shopware.featureflagThis tag is used internally as a feature flag for VCS
shopware.filesystem.factoryThis tag is used to register a new FilesystemFactory for Flysystem\Shopware\Core\Framework\Adapter\Filesystem\Adapter\AdapterFactoryInterface
shopware.cart.collectorThis tag is used to register a CartCollector\Shopware\Core\Checkout\Cart\CollectorInterface
shopware.cart.validatorThis tag is used to register a CartValidator\Shopware\Core\Checkout\Cart\CartValidatorInterface
shopware.composite_search.definitionpriorityUsed to mark a entity as searchable via the composite Search\Shopware\Core\Framework\DataAbstractionLayer\EntityDefinition
shopware.legacy_encoderUsed to register a new legacy passwordEncoder, to support migrating Customers\Shopware\Core\Checkout\Customer\Password\LegacyEncoder\LegacyEncoderInterface
shopware.dal_indexing.indexerUsed to register a new Indexer\Shopware\Core\Framework\DataAbstractionLayer\Indexing\IndexerInterface
shopware.cms.data_resolverUsed to register a new Data Resolver for CMS blocks\Shopware\Core\Content\Cms\SlotDataResolver\SlotTypeDataResolverInterface
shopware.pathname.strategyUsed to register a new Strategy for generating Pathnames\Shopware\Core\Content\Media\Pathname\PathnameStrategy\PathnameStrategyInterface
shopware.scheduled.taskUsed to register a new ScheduledTask\Shopware\Core\Framework\MessageQueue\ScheduledTask\ScheduledTask
shopware.oauth.scopeUsed to add a new Scope for the OAuth authentification\League\OAuth2\Server\Entities\ScopeEntityInterface
shopware.search_analyzerUsed to add a new SearchAnalyzer\Shopware\Core\Framework\Search\Util\SearchAnalyzerInterface
shopware.field_resolverUsed to add a new FieldResolver\Shopware\Core\Framework\DataAbstractionLayer\Dbal\FieldResolver\FieldResolverInterface
shopware.field_accessor_builderUsed to add a new FieldAccessorBuilder\Shopware\Core\Framework\DataAbstractionLayer\Dbal\FieldAccessorBuilder\FieldAccessorBuilderInterface
shopware.field_serializerUsed to add a new FieldSerializer\Shopware\Core\Framework\DataAbstractionLayer\FieldSerializer\FieldSerializerInterface
shopware.demodata_generatorUsed to add a new Demodata Generator\Shopware\Core\Framework\Demodata\DemodataGeneratorInterface
shopware.snippet.fileUsed to add a new SnippetFile\Shopware\Core\System\Snippet\Files\SnippetFileInterface
shopware.snippet.filterUsed to add a new SnippetFilter\Shopware\Core\System\Snippet\Filter\SnippetFilterInterface
shopware.value_generator_connectorUsed to add a new NumberRange -> Storage Connector\Shopware\Core\System\NumberRange\ValueGenerator\Pattern\IncrementStorage\IncrementStorageInterface
shopware.value_generator_patternUsed to add a new NumberRange pattern\Shopware\Core\System\NumberRange\ValueGenerator\Pattern\ValueGeneratorPatternInterface
shopware.entity.extensionUsed to add an Extension to an EntityDefinition\Shopware\Core\Framework\DataAbstractionLayer\EntityExtensionInterface
shopware.seo_url.generatorUsed to add a new SeoUrl Generator\Shopware\Storefront\Framework\Seo\SeoUrlGenerator\SeoUrlGeneratorInterface
shopware.rule.definitionUsed to add a new Rule\Shopware\Core\Framework\Rule\Rule
shopware.payment.method.syncUsed to add a synchronous PaymentMethod\Shopware\Core\Checkout\Payment\Cart\PaymentHandler\SynchronousPaymentHandlerInterface
shopware.payment.method.asyncUsed to add a asynchronous PaymentMethod\Shopware\Core\Checkout\Payment\Cart\PaymentHandler\AsynchronousPaymentHandlerInterface
shopware.metadata.loaderUsed to add a new Media MetadataLoader\Shopware\Core\Content\Media\Metadata\MetadataLoader\MetadataLoaderInterface
shopware.media_type.detectorUsed to add a new MediaType Detector\Shopware\Core\Content\Media\TypeDetector\TypeDetectorInterface