plugins/Field/src/Model/Behavior/FieldableBehavior.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 182-186 (lines=5) @@ | 
                                                            
                                    | 179 |  |      */ | 
                                                            
                                    | 180 |  |     public function beforeFind(Event $event, Query $query, ArrayObject $options, $primary) | 
                                                            
                                    | 181 |  |     { | 
                                                            
                                    | 182 |  |         if ((isset($options['fieldable']) && $options['fieldable'] === false) || | 
                                                            
                                    | 183 |  |             !$this->config('enabled') | 
                                                            
                                    | 184 |  |         ) { | 
                                                            
                                    | 185 |  |             return true; | 
                                                            
                                    | 186 |  |         } | 
                                                            
                                    | 187 |  |  | 
                                                            
                                    | 188 |  |         if (array_key_exists('eav', $options)) { | 
                                                            
                                    | 189 |  |             unset($options['eav']); | 
                                                                        
                 
                                                            
                    
plugins/Eav/src/Model/Behavior/EavBehavior.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 399-403 (lines=5) @@ | 
                                                            
                                    | 396 |  |      */ | 
                                                            
                                    | 397 |  |     public function beforeFind(Event $event, Query $query, ArrayObject $options, $primary) | 
                                                            
                                    | 398 |  |     { | 
                                                            
                                    | 399 |  |         if (!$this->config('enabled') || | 
                                                            
                                    | 400 |  |             (isset($options['eav']) && $options['eav'] === false) | 
                                                            
                                    | 401 |  |         ) { | 
                                                            
                                    | 402 |  |             return true; | 
                                                            
                                    | 403 |  |         } | 
                                                            
                                    | 404 |  |  | 
                                                            
                                    | 405 |  |         if (!isset($options['bundle'])) { | 
                                                            
                                    | 406 |  |             $options['bundle'] = null; |