You are here

public function FootnoteExtension::settingsKey in Markdown 8.2

The array key name to use when the settings are nested in another array.

Return value

mixed The settings key.

Overrides SettingsTrait::settingsKey

See also

\Drupal\markdown\Plugin\Markdown\CommonMark\CommonMark::getEnvironment()

File

src/Plugin/Markdown/CommonMark/Extension/FootnoteExtension.php, line 193

Class

FootnoteExtension
Footnotes extension.

Namespace

Drupal\markdown\Plugin\Markdown\CommonMark\Extension

Code

public function settingsKey() {
  return $this
    ->isPreferredLibraryInstalled() ? 'footnote' : FALSE;
}