You are here

public function TagPluginInterface::getDefaultSample in Extensible BBCode 8.3

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

Return the unprocessed sample code.

This should have {{ name }} placeholders for the tag name.

Return value

string The sample code.

1 method overrides TagPluginInterface::getDefaultSample()
TagPluginBase::getDefaultSample in src/Plugin/TagPluginBase.php
Return the unprocessed sample code.

File

src/Plugin/TagPluginInterface.php, line 67

Class

TagPluginInterface
Defines the interface for XBBCode tag plugins.

Namespace

Drupal\xbbcode\Plugin

Code

public function getDefaultSample() : string;