Grido\Components\Button::getOption PHP Method

getOption() public method

Returns user-specific option.
public getOption ( string $key, mixed $default = NULL ) : mixed
$key string
$default mixed
return mixed
    public function getOption($key, $default = NULL)
    {
        return isset($this->options[$key]) ? $this->options[$key] : $default;
    }