protected function TranslationLink::getDefaultLabel in Drupal 8
Same name and namespace in other branches
- 9 core/modules/content_translation/src/Plugin/views/field/TranslationLink.php \Drupal\content_translation\Plugin\views\field\TranslationLink::getDefaultLabel()
- 10 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');
}