Intelligently set an option either from this display or from the default display, if directed to do so.
public function setOption($option, $value) {
if ($this
->isDefaulted($option)) {
return $this->default_display
->setOption($option, $value);
}
// Set this in two places: On the handler where we'll notice it
// but also on the display object so it gets saved. This should
// only be a temporary fix.
$this->display['display_options'][$option] = $value;
return $this->options[$option] = $value;
}