public function DrupalOrg::getTip in Freelinking 8.3
Same name and namespace in other branches
- 4.0.x src/Plugin/freelinking/DrupalOrg.php \Drupal\freelinking\Plugin\freelinking\DrupalOrg::getTip()
Provides tips for this freelinking plugin.
Tips are displayed as part of the freelinking filter plugin.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup Translatable markup.
Overrides External::getTip
1 call to DrupalOrg::getTip()
- DrupalOrg::buildLink in src/
Plugin/ freelinking/ DrupalOrg.php - Build a link with the plugin.
File
- src/
Plugin/ freelinking/ DrupalOrg.php, line 62
Class
- DrupalOrg
- Freelinking drupal.org and drupal.org project plugin.
Namespace
Drupal\freelinking\Plugin\freelinkingCode
public function getTip() {
// Note that this is a change from Drupal 7 dev plugin behavior.
return $this
->t('Click to view on drupal.org.');
}