You are here

public function SettingsTrait::settingExists in Markdown 8.2

1 call to SettingsTrait::settingExists()
SettingsTrait::createSettingElement in src/Traits/SettingsTrait.php
Creates a setting element.
2 methods override SettingsTrait::settingExists()
Parsedown::settingExists in src/Plugin/Markdown/Parsedown/Parsedown.php
Flag indicating whether a setting exists.
PhpMarkdown::settingExists in src/Plugin/Markdown/PhpMarkdown/PhpMarkdown.php
Indicates whether the setting exists.

File

src/Traits/SettingsTrait.php, line 142

Class

SettingsTrait
Trait for installable plugins that implement settings.

Namespace

Drupal\markdown\Traits

Code

public function settingExists($name) {
  return array_key_exists($name, static::defaultSettings($this->pluginDefinition));
}