protected function getCropOption($imageFieldOptions)
    {
        $crop = array_get($imageFieldOptions, 'crop', false);

        // check for crop override
        if (isset($this->cropCoordinates) && count($this->cropCoordinates) == 2) {
            $crop = $this->cropCoordinates;
        }

        return $crop;
    }
protected function getCropOption($imageFieldOptions)
    {
        $crop = array_get($imageFieldOptions, 'crop', false);

        // check for crop override
        if (isset($this->cropCoordinates) && count($this->cropCoordinates) == 2) {
            $crop = $this->cropCoordinates;
        }

        return $crop;
    }
protected function getCropOption ( $ imageFieldOptions ) { $ crop = array_get ( $ imageFieldOptions , 'crop' , false ) ; // check for crop override if ( isset ( $ this -> cropCoordinates ) && count ( $ this -> cropCoordinates ) == 2 ) { $ crop = $ this -> cropCoordinates ; } return $ crop ; }
Get the crop option

@param $imageFieldOptions
@return array|boolean
Get the crop option