protected function TranslationLink::getDefaultLabel in Drupal 9
Same name and namespace in other branches
- 8 core/modules/content_translation/src/Plugin/views/field/TranslationLink.php \Drupal\content_translation\Plugin\views\field\TranslationLink::getDefaultLabel()
Returns the default label for this link.
Return value
string The default link label.
Overrides EntityLink::getDefaultLabel
File
- core/
modules/ content_translation/ src/ Plugin/ views/ field/ TranslationLink.php, line 26
Class
- TranslationLink
- Provides a translation link for an entity.
Namespace
Drupal\content_translation\Plugin\views\fieldCode
protected function getDefaultLabel() {
return $this
->t('Translate');
}