You are here

public function File::getTip in Freelinking 8.3

Same name and namespace in other branches
  1. 4.0.x src/Plugin/freelinking/File.php \Drupal\freelinking\Plugin\freelinking\File::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 FreelinkingPluginInterface::getTip

1 call to File::getTip()
File::buildLink in src/Plugin/freelinking/File.php
Build a link with the plugin.

File

src/Plugin/freelinking/File.php, line 85

Class

File
Freelinking file plugin.

Namespace

Drupal\freelinking\Plugin\freelinking

Code

public function getTip() {
  return $this
    ->t('Click to view a local file.');
}