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