Same name and namespace in other branches
- 8.9.x core/modules/contact/src/Plugin/views/field/ContactLink.php \Drupal\contact\Plugin\views\field\ContactLink::getDefaultLabel()
- 9 core/modules/contact/src/Plugin/views/field/ContactLink.php \Drupal\contact\Plugin\views\field\ContactLink::getDefaultLabel()
Returns the default label for this link.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The default link label.
Overrides LinkBase::getDefaultLabel
1 call to ContactLink::getDefaultLabel()
- ContactLink::buildOptionsForm in core/
modules/ contact/ src/ Plugin/ views/ field/ ContactLink.php
File
- core/
modules/ contact/ src/ Plugin/ views/ field/ ContactLink.php, line 66
Class
Namespace
Drupal\contact\Plugin\views\fieldCode
protected function getDefaultLabel() {
return $this
->t('contact');
}