services:
  plugin.manager.social_media_links.platform:
    class: Drupal\social_media_links\SocialMediaLinksPlatformManager
    parent: default_plugin_manager
  plugin.manager.social_media_links.iconset:
    class: Drupal\social_media_links\SocialMediaLinksIconsetManager
    parent: default_plugin_manager
  social_media_links.finder:
    class: Drupal\social_media_links\IconsetFinderService
    arguments: ['@kernel', '@extension.path.resolver']

  logger.channel.social_media_links:
    parent: logger.channel_base
    arguments: ['social_media_links']

  social_media_links.twig.extension.safe_link:
    class: Drupal\social_media_links\TwigExtension\SocialMediaLinksTwigExtension
    tags:
      - { name: twig.extension }
