コード例 #1
0
 /**
  * {@inheritdoc}
  */
 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;
 }
 /**
  * {@inheritdoc}
  */
 public function getFilterLabels()
 {
     $info = parent::getFilterLabels();
     $bundle = $this->baseEntityInfo->getBundleLabel() ?: $this->t('Bundle');
     $bundle = Unicode::strtolower($bundle);
     $info['placeholder'] = $this->t('Enter field or @bundle', array('@bundle' => $bundle));
     $info['description'] = $this->t('Enter a part of the field or @bundle to filter by.', array('@bundle' => $bundle));
     return $info;
 }