Class: Hyrax::ExposedModelsRelation
- Inherits:
-
AbstractTypeRelation
- Object
- ActiveFedora::Relation
- AbstractTypeRelation
- Hyrax::ExposedModelsRelation
- Defined in:
- app/search_builders/hyrax/exposed_models_relation.rb
Overview
A relation that scopes to all user visible models (e.g. works + collections + file sets)
Instance Method Summary collapse
Methods inherited from AbstractTypeRelation
#equivalent_class?, #initialize, #search_model_clause
Constructor Details
This class inherits a constructor from Hyrax::AbstractTypeRelation
Instance Method Details
#allowable_types ⇒ Object
5 6 7 |
# File 'app/search_builders/hyrax/exposed_models_relation.rb', line 5 def allowable_types Hyrax::ModelRegistry.work_classes + Hyrax::ModelRegistry.collection_classes + Hyrax::ModelRegistry.file_set_classes end |