Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ContactLink.php

function ContactLink::getDefaultLabel

Overrides LinkBase::getDefaultLabel

1 call to ContactLink::getDefaultLabel()
ContactLink::buildOptionsForm in core/modules/contact/src/Plugin/views/field/ContactLink.php
Default option form that provides label widget that all fields should have.

File

core/modules/contact/src/Plugin/views/field/ContactLink.php, line 66

Class

ContactLink
Defines a field that links to the user contact page, if access is permitted.

Namespace

Drupal\contact\Plugin\views\field

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal