You are here

public function Node::getTip in Freelinking 4.0.x

Same name and namespace in other branches
  1. 8.3 src/Plugin/freelinking/Node.php \Drupal\freelinking\Plugin\freelinking\Node::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 Node::getTip()
Node::buildLink in src/Plugin/freelinking/Node.php
Build a link with the plugin.

File

src/Plugin/freelinking/Node.php, line 64

Class

Node
Node ID freelinking plugin.

Namespace

Drupal\freelinking\Plugin\freelinking

Code

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