protected function LinkRegister::getDefaultLabel in RNG - Events and Registrations 8.2
Same name and namespace in other branches
- 8 src/Plugin/views/field/LinkRegister.php \Drupal\rng\Plugin\views\field\LinkRegister::getDefaultLabel()
- 3.x src/Plugin/views/field/LinkRegister.php \Drupal\rng\Plugin\views\field\LinkRegister::getDefaultLabel()
Returns the default label for this link.
Return value
string The default link label.
Overrides LinkBase::getDefaultLabel
File
- src/
Plugin/ views/ field/ LinkRegister.php, line 69
Class
- LinkRegister
- Field handler to present a link to register for an event.
Namespace
Drupal\rng\Plugin\views\fieldCode
protected function getDefaultLabel() {
return $this
->t('Register');
}