You are here

public function EmbedButtonInterface::getTypeSetting in Embed 8

Gets the value of an embed type setting.

Parameters

string $key: The setting name.

mixed $default: The default value.

Return value

mixed The value.

1 method overrides EmbedButtonInterface::getTypeSetting()
EmbedButton::getTypeSetting in src/Entity/EmbedButton.php
Gets the value of an embed type setting.

File

src/EmbedButtonInterface.php, line 47

Class

EmbedButtonInterface
Provides an interface defining a embed button entity.

Namespace

Drupal\embed

Code

public function getTypeSetting($key, $default = NULL);