ConfigTranslationBlockListBuilder::getFilterLabels

public ConfigTranslationBlockListBuilder::getFilterLabels()

Provides user facing strings for the filter element.

Return value

array

Overrides ConfigTranslationEntityListBuilder::getFilterLabels

File

core/modules/config_translation/src/Controller/ConfigTranslationBlockListBuilder.php, line 45

Class

ConfigTranslationBlockListBuilder
Defines the config translation list builder for blocks.

Namespace

Drupal\config_translation\Controller

Code

1
2
3
4
5
6
7
8
public function getFilterLabels() {
  $info = parent::getFilterLabels();
 
  $info['placeholder'] = $this->t('Enter block, theme or category');
  $info['description'] = $this->t('Enter a part of the block, theme or category to filter by.');
 
  return $info;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.