Set "Dropdown Language" as Block Category

Created on 5 April 2023, about 1 year ago
Updated 22 November 2023, 7 months ago

Problem/Motivation

Currently, the "Block category" of Dropdown Language Blocks is "Custom block" due to this definition:

/**
 * Provides an alternative language switcher block.
 *
 * @Block(
 *   id = "dropdown_language",
 *   admin_label = @Translation("Dropdown Language Selector"),
 *   category = @Translation("Custom Blocks"),
 *   deriver = "Drupal\dropdown_language\Plugin\Derivative\DropdownLanguage"
 * )
 */

This is unexpected, as custom blocks are typically created by the user. Instead the module name should be used.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

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

Comments & Activities

Production build 0.69.0 2024