public function BaseExtension::setSettings in Markdown 3.0.x
Provides settings to an extension.
Parameters
array $settings: The settings array.
Overrides MarkdownExtensionInterface::setSettings
File
- src/
Plugin/ Markdown/ Extension/ BaseExtension.php, line 196
Class
- BaseExtension
- Base class for markdown extensions.
Namespace
Drupal\markdown\Plugin\Markdown\ExtensionCode
public function setSettings(array $settings = []) {
foreach ($settings as $name => $value) {
$this
->setSetting($name, $value);
}
}