protected static function TableOfContentsExtension::featurePlaceholder in Markdown 8.2
Feature callback for whether TableOfContents supports a placeholder.
Return value
bool TRUE or FALSE
File
- src/
Plugin/ Markdown/ CommonMark/ Extension/ TableOfContentsExtension.php, line 76
Class
- TableOfContentsExtension
- Plugin annotation @MarkdownExtension( id = "commonmark-table-of-contents", label = @Translation("Table Of Contents"), description = @Translation("Automatically inserts a table of contents into your document with links to the various…
Namespace
Drupal\markdown\Plugin\Markdown\CommonMark\ExtensionCode
protected static function featurePlaceholder() {
return defined('\\League\\CommonMark\\Extension\\TableOfContents\\TableOfContentsBuilder::POSITION_PLACEHOLDER');
}