[2.0.0-beta2] Rename *.ui_icons.yml to *.icons.yml

Created on 15 October 2024, 3 months ago

Problem/Motivation

Because Drupal\ui_icons\Plugin\IconPackManager is in the scope of Add an icon management API Active

And because we don't want to merge any "UI Icons" branding in Core. Let's rename the render element from *.ui_icons.yml to *.icons.yml.

Proposed resolution

Rename, check where all the places where it is used (including tests):

  protected function getDiscovery(): DiscoveryInterface {
    if (!$this->discovery) {
      $this->discovery = new YamlDiscovery('ui_icons', $this->moduleHandler->getModuleDirectories() + $this->themeHandler->getThemeDirectories());
      $this->discovery = new ContainerDerivativeDiscoveryDecorator($this->discovery);
    }
    return $this->discovery;
  }

Remaining tasks

Is there other "ui icons" stuff we need to rename before the MR?

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇫🇷France pdureau Paris

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024