public function AtAutolinker::defaultSettings in Markdown 3.0.x
Retrieves the default settings.
Return value
array The default settings.
Overrides BaseExtension::defaultSettings
File
- src/
Plugin/ Markdown/ Extension/ AtAutolinker.php, line 65
Class
- AtAutolinker
- Plugin annotation @MarkdownExtension( id = "at_autolinker", label = @Translation("@ Autolinker"), installed = TRUE, description = @Translation("Automatically link commonly used references that come after an at character (@) without having to…
Namespace
Drupal\markdown\Plugin\Markdown\ExtensionCode
public function defaultSettings() {
return [
'type' => 'user',
'format_username' => TRUE,
'url' => 'https://www.drupal.org/u/[text]',
];
}