You are here

public function SettingsInterface::getSetting in Markdown 8.2

Retrieves a setting for the plugin.

Parameters

string $name: The setting name. This can be a nested value using dot notation (e.g. "nested.property.key").

mixed $default: Optional. The default value to provide if $name isn't set.

Return value

mixed The settings value or $default if not set.

File

src/Plugin/Markdown/SettingsInterface.php, line 47

Class

SettingsInterface
Interface for installable plugins that implement settings.

Namespace

Drupal\markdown\Plugin\Markdown

Code

public function getSetting($name, $default = NULL);