Fills up the options of the plugin with defaults.
array $storage: An array which stores the actual option values of the plugin.
array $options: An array which describes the options of a plugin. Each element is an associative array containing:
protected function setOptionDefaults(array &$storage, array $options) {
foreach ($options as $option => $definition) {
if (isset($definition['contains'])) {
$storage[$option] = array();
$this
->setOptionDefaults($storage[$option], $definition['contains']);
}
else {
$storage[$option] = $definition['default'];
}
}
}