public function data($content, $options = [])
    {
        if (isset($options['returnAll']) && $options['returnAll']) {
            return BlockSelectOption::getOptionsArray($this->_block->id);
        }
        return parent::data($content);
    }
public function data($content, $options = [])
    {
        if (isset($options['returnAll']) && $options['returnAll']) {
            return BlockSelectOption::getOptionsArray($this->_block->id);
        }
        return parent::data($content);
    }
public function data ( $ content , $ options = [ ] ) { if ( isset ( $ options [ 'returnAll' ] ) && $ options [ 'returnAll' ] ) { return BlockSelectOption :: getOptionsArray ( $ this -> _block -> id ) ; } return parent :: data ( $ content ) ; }
Add return all option to the data function
@param string $content
@param array $options
@return array|string
Add return all option to the data function