You are here

public function Jw_playerInterface::getSetting in JW Player 8

Returns a preset setting value for a specific key.

Parameters

string|array $key: Values are stored as a multi-dimensional associative array. If $key is a string, it will return $values[$key]. If $key is an array, each element of the array will be used as a nested key. If $key = array('foo', 'bar') it will return $values['foo']['bar'].

mixed $default: (optional) The default value if the specified key does not exist.

Return value

mixed The value for the given key, or NULL.

1 method overrides Jw_playerInterface::getSetting()
Jw_player::getSetting in src/Entity/Jw_player.php
Returns a preset setting value for a specific key.

File

src/Jw_playerInterface.php, line 34

Class

Jw_playerInterface
Provides an interface defining a Example entity.

Namespace

Drupal\jw_player

Code

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