protected function LinkBase::getDefaultLabel in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views/src/Plugin/views/field/LinkBase.php \Drupal\views\Plugin\views\field\LinkBase::getDefaultLabel()
Returns the default label for this link.
Return value
string The default link label.
2 calls to LinkBase::getDefaultLabel()
- LinkBase::defineOptions in core/
modules/ views/ src/ Plugin/ views/ field/ LinkBase.php - Information about options for all kinds of purposes will be held here.
- LinkBase::renderLink in core/
modules/ views/ src/ Plugin/ views/ field/ LinkBase.php - Prepares the link to view a entity.
5 methods override LinkBase::getDefaultLabel()
- ContactLink::getDefaultLabel in core/
modules/ contact/ src/ Plugin/ views/ field/ ContactLink.php - Returns the default label for this link.
- EntityLink::getDefaultLabel in core/
modules/ views/ src/ Plugin/ views/ field/ EntityLink.php - Returns the default label for this link.
- LinkApprove::getDefaultLabel in core/
modules/ comment/ src/ Plugin/ views/ field/ LinkApprove.php - Returns the default label for this link.
- LinkReply::getDefaultLabel in core/
modules/ comment/ src/ Plugin/ views/ field/ LinkReply.php - Returns the default label for this link.
- RevisionLink::getDefaultLabel in core/
modules/ node/ src/ Plugin/ views/ field/ RevisionLink.php - Returns the default label for this link.
File
- core/
modules/ views/ src/ Plugin/ views/ field/ LinkBase.php, line 246
Class
- LinkBase
- Field handler to present a link to an entity.
Namespace
Drupal\views\Plugin\views\fieldCode
protected function getDefaultLabel() {
return $this
->t('link');
}