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

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
2016-10-29 08:54:40
Comments
Leave a Comment

Please login to continue.