Skip to content

[StimulusBundle] Clean Deprecation for 3.x #3099

@smnandre

Description

@smnandre

I would think we can remove entirely this method, but is it used for webpack somewhere / somehow ? I'm having doubts there ..

/**
* Returns the CSS <link> tags for all "autoimport" entries in controllers.json.
*/
public function renderLinkTags(): string
{
if (class_exists(ImportMapGenerator::class)) {
trigger_deprecation('symfony/ux-stimulus-bundle', '2.13.0', 'Calling ux_controller_link_tags() is deprecated and does nothing with symfony/asset-mapper 6.4. The link tags are rendered automatically via the importmap() function.');
return '';
}

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions