protected function WorkflowD7Base::getSetting in Workflow 7
Same name and namespace in other branches
- 7.2 includes/Field/WorkflowD7Base.php \WorkflowD7Base::getSetting()
File
- includes/
Field/ WorkflowD7Base.php, line 47 - Contains workflow\includes\Field\WorkflowD7Base.
Class
Code
protected function getSetting($key) {
if (isset($this->instance['widget']['settings'][$key])) {
return $this->instance['widget']['settings'][$key];
}
else {
$field_info = $this
->settings();
return $field_info['workflow']['settings'][$key];
}
}