You are here

public function SmartPunctuationExtension::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/SmartPunctuationExtension.php, line 120

Class

SmartPunctuationExtension
Smart Punctuation extension.

Namespace

Drupal\markdown\Plugin\Markdown\CommonMark\Extension

Code

public function settingsKey() {
  return static::featureExists('settings') ? 'smartpunct' : FALSE;
}