You are here

public static function EmojiExtension::defaultSettings in Markdown 8.2

Provides the default settings for the plugin.

Parameters

\Drupal\markdown\Annotation\InstallablePlugin $pluginDefinition: The plugin definition.

Return value

array The default settings.

Overrides SettingsTrait::defaultSettings

File

src/Plugin/Markdown/CommonMark/Extension/EmojiExtension.php, line 52

Class

EmojiExtension
Emoji extension.

Namespace

Drupal\markdown\Plugin\Markdown\CommonMark\Extension

Code

public static function defaultSettings($pluginDefinition) {

  /* @var \Drupal\markdown\Annotation\InstallablePlugin $pluginDefinition */
  return [
    'github_api_token' => NULL,
  ];
}