You are here

protected function LinkReportClose::getDefaultLabel in Open Social 10.2.x

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_content_report/src/Plugin/views/field/LinkReportClose.php \Drupal\social_content_report\Plugin\views\field\LinkReportClose::getDefaultLabel()
  2. 8.5 modules/social_features/social_content_report/src/Plugin/views/field/LinkReportClose.php \Drupal\social_content_report\Plugin\views\field\LinkReportClose::getDefaultLabel()
  3. 8.6 modules/social_features/social_content_report/src/Plugin/views/field/LinkReportClose.php \Drupal\social_content_report\Plugin\views\field\LinkReportClose::getDefaultLabel()
  4. 8.7 modules/social_features/social_content_report/src/Plugin/views/field/LinkReportClose.php \Drupal\social_content_report\Plugin\views\field\LinkReportClose::getDefaultLabel()
  5. 8.8 modules/social_features/social_content_report/src/Plugin/views/field/LinkReportClose.php \Drupal\social_content_report\Plugin\views\field\LinkReportClose::getDefaultLabel()
  6. 10.3.x modules/social_features/social_content_report/src/Plugin/views/field/LinkReportClose.php \Drupal\social_content_report\Plugin\views\field\LinkReportClose::getDefaultLabel()
  7. 10.0.x modules/social_features/social_content_report/src/Plugin/views/field/LinkReportClose.php \Drupal\social_content_report\Plugin\views\field\LinkReportClose::getDefaultLabel()
  8. 10.1.x modules/social_features/social_content_report/src/Plugin/views/field/LinkReportClose.php \Drupal\social_content_report\Plugin\views\field\LinkReportClose::getDefaultLabel()

Returns the default label for this link.

Return value

string The default link label.

Overrides LinkBase::getDefaultLabel

File

modules/social_features/social_content_report/src/Plugin/views/field/LinkReportClose.php, line 33

Class

LinkReportClose
Field handler to present a link to close a report.

Namespace

Drupal\social_content_report\Plugin\views\field

Code

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