public function AjaxCommandBase::getSetting in Forena Reports 8
Same name and namespace in other branches
- 7.4 AjaxCommand/AjaxCommandBase.php \Drupal\forena\FrxPlugin\AjaxCommand\AjaxCommandBase::getSetting()
Parameters
$settings:
$key:
Return value
array The settings in the array
17 calls to AjaxCommandBase::getSetting()
- After::commandFromSettings in src/
FrxPlugin/ AjaxCommand/ After.php - Settings are passed into this factory from either the skin or the report element. If there are complex structures when used in the arguments they will be passed in the 'text' setting. These should be decoded by any plugin intending to use…
- Alert::commandFromSettings in src/
FrxPlugin/ AjaxCommand/ Alert.php - Append::commandFromSettings in src/
FrxPlugin/ AjaxCommand/ Append.php - JQuery Append Command
- Before::commandFromSettings in src/
FrxPlugin/ AjaxCommand/ Before.php - JQuery Before Command
- Changed::commandFromSettings in src/
FrxPlugin/ AjaxCommand/ Changed.php - Changed command
File
- src/
FrxPlugin/ AjaxCommand/ AjaxCommandBase.php, line 24
Class
Namespace
Drupal\forena\FrxPlugin\AjaxCommandCode
public function getSetting(&$settings, $key) {
$value = NULL;
if (isset($settings[$key])) {
$value = $settings[$key];
unset($settings[$key]);
}
static::replacer()
->replaceNested($value);
return $value;
}