function ContactLink::getDefaultLabel
Same name in other branches
- 9 core/modules/contact/src/Plugin/views/field/ContactLink.php \Drupal\contact\Plugin\views\field\ContactLink::getDefaultLabel()
- 10 core/modules/contact/src/Plugin/views/field/ContactLink.php \Drupal\contact\Plugin\views\field\ContactLink::getDefaultLabel()
- 11.x core/modules/contact/src/Plugin/views/field/ContactLink.php \Drupal\contact\Plugin\views\field\ContactLink::getDefaultLabel()
Overrides LinkBase::getDefaultLabel
1 call to ContactLink::getDefaultLabel()
- ContactLink::buildOptionsForm in core/
modules/ contact/ src/ Plugin/ views/ field/ ContactLink.php - Default options form that provides the label widget that all fields should have.
File
-
core/
modules/ contact/ src/ Plugin/ views/ field/ ContactLink.php, line 59
Class
- ContactLink
- Defines a field that links to the user contact page, if access is permitted.
Namespace
Drupal\contact\Plugin\views\fieldCode
protected function getDefaultLabel() {
return $this->t('contact');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.