You are here

protected function LinkRegister::getDefaultLabel in RNG - Events and Registrations 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/views/field/LinkRegister.php \Drupal\rng\Plugin\views\field\LinkRegister::getDefaultLabel()
  2. 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\field

Code

protected function getDefaultLabel() {
  return $this
    ->t('Register');
}