You are here

public function TagPluginInterface::getSample in Extensible BBCode 8.3

Same name and namespace in other branches
  1. 4.0.x src/Plugin/TagPluginInterface.php \Drupal\xbbcode\Plugin\TagPluginInterface::getSample()

Return a sample tag for the filter tips.

This sample should reference the configured tag name.

Return value

string The sample code.

1 method overrides TagPluginInterface::getSample()
TagPluginBase::getSample in src/Plugin/TagPluginBase.php
Return a sample tag for the filter tips.

File

src/Plugin/TagPluginInterface.php, line 77

Class

TagPluginInterface
Defines the interface for XBBCode tag plugins.

Namespace

Drupal\xbbcode\Plugin

Code

public function getSample() : string;